Adds a mutator for BasicLayer extractNumber (for gdsII support).

This commit is contained in:
Jean-Paul Chaput 2009-12-08 14:28:27 +00:00
parent dcf39378c5
commit f9c9467ea7
1 changed files with 19 additions and 17 deletions

View File

@ -102,6 +102,7 @@ namespace Hurricane {
// Updators // Updators
inline void setConnectorLayer ( BasicLayer* layer); inline void setConnectorLayer ( BasicLayer* layer);
inline void setObstructionLayer ( BasicLayer* layer); inline void setObstructionLayer ( BasicLayer* layer);
inline void setExtractNumber ( unsigned int );
inline void setRealName ( const char* realName); inline void setRealName ( const char* realName);
// Hurricane Managment. // Hurricane Managment.
virtual BasicLayer* _getSymbolicBasicLayer (); virtual BasicLayer* _getSymbolicBasicLayer ();
@ -132,17 +133,18 @@ namespace Hurricane {
// Inline Functions. // Inline Functions.
BasicLayer::Material::operator const Code& () const { return _code; } inline BasicLayer::Material::operator const Code& () const { return _code; }
const BasicLayer::Material::Code& inline const BasicLayer::Material::Code&
BasicLayer::Material::getCode () const { return _code; } inline BasicLayer::Material::getCode () const { return _code; }
string BasicLayer::Material::_getTypeName () const { return _TName("BasicLayer::Material"); } inline string BasicLayer::Material::_getTypeName () const { return _TName("BasicLayer::Material"); }
const BasicLayer::Material& inline const BasicLayer::Material&
BasicLayer::getMaterial () const { return _material; } inline BasicLayer::getMaterial () const { return _material; }
unsigned BasicLayer::getExtractNumber () const { return _extractNumber; } inline unsigned BasicLayer::getExtractNumber () const { return _extractNumber; }
const Name& BasicLayer::getRealName () const { return _realName; } inline const Name& BasicLayer::getRealName () const { return _realName; }
void BasicLayer::setConnectorLayer ( BasicLayer* layer) { _connectorLayer = layer; } inline void BasicLayer::setConnectorLayer ( BasicLayer* layer) { _connectorLayer = layer; }
void BasicLayer::setObstructionLayer ( BasicLayer* layer) { _obstructionLayer = layer; } inline void BasicLayer::setObstructionLayer ( BasicLayer* layer) { _obstructionLayer = layer; }
void BasicLayer::setRealName ( const char* realName) { _realName = realName; } inline void BasicLayer::setExtractNumber ( unsigned int number ) { _extractNumber=number; }
inline void BasicLayer::setRealName ( const char* realName) { _realName = realName; }
} // End of Hurricane namespace. } // End of Hurricane namespace.