#include <Materials_MaterialsDictionary.hxx>
Inheritance diagram for Materials_MaterialsDictionary:
Public Member Functions | |
Standard_EXPORT | Materials_MaterialsDictionary () |
Returns a MaterialsDictionary object which contains the sequence of all the materials the user wants to consider. . | |
Standard_EXPORT Handle_Materials_Material | Material (const Standard_CString amaterial) const |
Retrieves from the dictionary the object material with <amaterial> as name. If <amaterial> does not exist in the dictionary an exeption is raised. . | |
Standard_EXPORT Standard_Boolean | ExistMaterial (const Standard_CString aName) const |
True if the materialofname aName exists ... . | |
Standard_EXPORT Standard_Integer | NumberOfMaterials () const |
Returns the number of materials previously stored in the dictionary. . | |
Standard_EXPORT Handle_Materials_Material | Material (const Standard_Integer anindex) const |
This method used with the previous one, allow the exploration of all the dictionary. It returns a Material instance. . | |
Standard_EXPORT Standard_Boolean | UpToDate () const |
Returns true if there has been no modification of the file Materials.dat since the creation of the dictionary object, false otherwise. . | |
Standard_EXPORT void | Dump (Standard_OStream &astream) const |
Useful for debugging. . | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_TCollection_HAsciiString | thefilename |
Standard_Integer | thetime |
Handle_Materials_MaterialsSequence | thematerialssequence |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|