PropertyLibrary represents a way to manage properties of elements, materials. PropertyLibrary provides access to set of named property tables. More...
Classes | |
class | PropertyTableIterator |
Iterator over property tables contained in property library. More... | |
Public Member Functions | |
ModelData_BIMPropertyLibrary () | |
Constructor. | |
size_t | NumberOfTables () const |
Returns the number of property tables contained in. | |
void | Add (const ModelData_PropertyTable &theTable) |
Adds the property table. | |
void | Add (const ModelData_BIMPropertyLibrary &theLibrary) |
Adds all property tables from library. | |
ModelData_PropertyTable | Table (const Base_UTF16String &theTableName) const |
Gets the property table with specified name. | |
bool | FindProperty (const Base_UTF16String &theName, I32 &theValue) const |
Finds the property with specified name in all property tables contained. | |
bool | FindProperty (const Base_UTF16String &theName, double &theValue) const |
Finds the property with specified name in all property tables contained. | |
bool | FindProperty (const Base_UTF16String &theName, Base_UTF16String &theValue) const |
Finds the property with specified name in all property tables contained. | |
Public Member Functions inherited from cadex::Base_PublicObject | |
void | Nullify () |
Resets reference to implementation object. | |
bool | IsNull () const |
Returns true if the object is nullified. | |
operator bool () const | |
Casts the object to the bool type. | |
internal::Base_HandledObject * | Impl () const |
Return a handle to backend (reserved for internal use). | |
Additional Inherited Members | |
Protected Member Functions inherited from cadex::Base_PublicObject | |
Base_PublicObject (const internal::Base_HandledObject *theObject) | |
Constructor (reserved for internal use). | |
template<typename T > | |
T * | GetOrCreateImpl () |
Reserved for internal use. | |
PropertyLibrary represents a way to manage properties of elements, materials. PropertyLibrary provides access to set of named property tables.
cadex::ModelData_BIMPropertyLibrary::ModelData_BIMPropertyLibrary | ( | ) |
Constructor.
Creates property library object.
bool cadex::ModelData_BIMPropertyLibrary::FindProperty | ( | const Base_UTF16String & | theName, |
Base_UTF16String & | theValue | ||
) | const |
Finds the property with specified name in all property tables contained.
Uses value of the first found occurrence. For retrieving property from concrete table use Table() method or ModelData_BIMPropertyLibrary::PropertyTableIterator instance.
bool cadex::ModelData_BIMPropertyLibrary::FindProperty | ( | const Base_UTF16String & | theName, |
double & | theValue | ||
) | const |
Finds the property with specified name in all property tables contained.
Uses value of the first found occurrence. For retrieving property from concrete table use Table() method or ModelData_BIMPropertyLibrary::PropertyTableIterator instance.
bool cadex::ModelData_BIMPropertyLibrary::FindProperty | ( | const Base_UTF16String & | theName, |
I32 & | theValue | ||
) | const |
Finds the property with specified name in all property tables contained.
Uses value of the first found occurrence. For retrieving property from concrete table use Table() method or ModelData_BIMPropertyLibrary::PropertyTableIterator instance.
ModelData_PropertyTable cadex::ModelData_BIMPropertyLibrary::Table | ( | const Base_UTF16String & | theTableName | ) | const |
Gets the property table with specified name.
If property library has no a table with specified name, returns empty table;