Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
Materials_MaterialDefinition Class Reference

This inherited class is useful to create the
abstract description of a material, in term of
authorized properties.
More...

#include <Materials_MaterialDefinition.hxx>

Inheritance diagram for Materials_MaterialDefinition:
Inheritance graph
[legend]

Public Member Functions

 Materials_MaterialDefinition ()
 Creates the exhaustive definition of a material.
More...
 
virtual Handle_Dynamic_Parameter Switch (const Standard_CString aname, const Standard_CString atype, const Standard_CString avalue) const
 Starting with the identifier of the parameter <aname>,
the type of parameter <atype> and a string <avalue>
which describes the values useful for this type of
parameters, creates and returns a Parameter object
from Dynamic.
More...
 
- Public Member Functions inherited from Dynamic_FuzzyDefinitionsDictionary
void Creates (const Standard_CString afilename)
 Starting with a file named <afilename>, fills the
dictionary with all the wishes definitions.
More...
 
Standard_Boolean Definition (const Standard_CString atype, Handle< Dynamic_FuzzyClass > &adefinition) const
 Returns from the dictionary in the out variable
<adefinition> a reference to the right instance of the
definition identified by its type <atype>. The method
returns true if the definition exist, false otherwise.
More...
 
Standard_Boolean UpToDate () const
 Returns true if there has been no modification of the
file fuzzyclasses.dat since the creation of the
dictionary object, false otherwise.
More...
 
Standard_Integer NumberOfDefinitions () const
 Returns the number of definitions stored in the
dictionary.
More...
 
Handle_Dynamic_FuzzyClass Definition (const Standard_Integer anindex) const
 Returns a reference on the definition identified by
the index <anidex>.
More...
 
void Dump (Standard_OStream &astream) const
 Useful for debugging.
More...
 
- Public Member Functions inherited from MMgt_TShared
virtual void Delete () const
 Memory deallocator for transient classes. More...
 
- Public Member Functions inherited from Standard_Transient
 Standard_Transient ()
 Empty constructor. More...
 
 Standard_Transient (const Standard_Transient &)
 Copy constructor – does nothing. More...
 
Standard_Transientoperator= (const Standard_Transient &)
 Assignment operator, needed to avoid copying reference counter. More...
 
virtual ~Standard_Transient ()
 Destructor must be virtual. More...
 
virtual void ShallowDump (Standard_OStream &) const
 
virtual const
Handle_Standard_Type & 
DynamicType () const
 Returns a type information object about this object. More...
 
Standard_Boolean IsInstance (const Handle_Standard_Type &theType) const
 Returns a true value if this is an instance of Type. More...
 
Standard_Boolean IsInstance (const Standard_CString theTypeName) const
 Returns a true value if this is an instance of TypeName. More...
 
Standard_Boolean IsKind (const Handle_Standard_Type &theType) const
 Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
Standard_Boolean IsKind (const Standard_CString theTypeName) const
 Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More...
 
virtual Handle_Standard_Transient This () const
 Returns a Handle which references this object. Must never be called to objects created in stack. More...
 
Standard_Integer GetRefCount () const
 Get the reference counter of this object. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Dynamic_FuzzyDefinitionsDictionary
 Dynamic_FuzzyDefinitionsDictionary ()
 Deferred constructor of the class.
More...
 

Detailed Description

This inherited class is useful to create the
abstract description of a material, in term of
authorized properties.

Constructor & Destructor Documentation

Materials_MaterialDefinition::Materials_MaterialDefinition ( )

Creates the exhaustive definition of a material.

Member Function Documentation

virtual Handle_Dynamic_Parameter Materials_MaterialDefinition::Switch ( const Standard_CString  aname,
const Standard_CString  atype,
const Standard_CString  avalue 
) const
virtual

Starting with the identifier of the parameter <aname>,
the type of parameter <atype> and a string <avalue>
which describes the values useful for this type of
parameters, creates and returns a Parameter object
from Dynamic.

Reimplemented from Dynamic_FuzzyDefinitionsDictionary.


The documentation for this class was generated from the following file: