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

This class describes the facilities available to
create and manipulate materials.
More...

#include <Materials_Material.hxx>

Inheritance diagram for Materials_Material:
Inheritance graph
[legend]

Public Member Functions

 Materials_Material (const Standard_CString amaterial)
 Creates the material <amaterial>.
More...
 
TCollection_AsciiString Name () const
 Returns the name of the material.
More...
 
virtual void Dump (Standard_OStream &astream) const
 Useful for debugging.
More...
 
- Public Member Functions inherited from Materials_FuzzyInstance
 Materials_FuzzyInstance (const Standard_CString atype)
 
 Materials_FuzzyInstance (const Handle< Materials_FuzzyInstance > &afuzzyinstance)
 
virtual TCollection_AsciiString Type () const
 This deferred method must returns the type of the
object. If the instance is of the type FuzzyDefinition
the method simply returns the field <thetype>. If the
instance is of the type FuzzyInstance the method calls
the Type method on the true definition.
More...
 
Handle_Dynamic_FuzzyClass Definition () const
 
virtual void Parameter (const Standard_CString aparameter, const Standard_Boolean avalue)
 Adds to the instance <me> the parameter <aparameter>
with the boolean value <avalue>.
More...
 
virtual void Parameter (const Standard_CString aparameter, const Standard_Integer avalue)
 Adds to the instance <me> the parameter <aparameter>
with the integer value <avalue>.
More...
 
virtual void Parameter (const Standard_CString aparameter, const Standard_Real avalue)
 Adds to the instance <me> the parameter <aparameter>
with the real value <avalue>.
More...
 
virtual void Parameter (const Standard_CString aparameter, const Standard_CString astring)
 Adds to the instance <me> the parameter <aparameter>
with the string <astring>.
More...
 
virtual void Parameter (const Standard_CString aparameter, const Handle< Standard_Transient > &anobject)
 Adds to the instance <me> the parameter <aparameter>
with the object value <anobject>.
More...
 
virtual Standard_Boolean Value (const Standard_CString aparameter, Standard_Boolean &avalue) const
 Returns True, if there is a parameter <aparameter>
previously stored in the instance <me> and there is
the corresponding boolean value in the output argument
<avalue>, False otherwise.
More...
 
virtual Standard_Boolean Value (const Standard_CString aparameter, Standard_Integer &avalue) const
 Returns True, if there is a parameter <aparameter>
previously stored in the instance <me> and there is
the corresponding integer value in the output argument
<avalue>, False otherwise.
More...
 
virtual Standard_Boolean Value (const Standard_CString aparameter, Standard_Real &avalue) const
 Returns True, if there is a parameter <aparameter>
previously stored in the instance <me> and there is
the corresponding real value in the output argument
<avalue>, False otherwise.
More...
 
virtual Standard_Boolean Value (const Standard_CString aparameter, TCollection_AsciiString &avalue) const
 Returns True, if there is a parameter <aparameter>
previously stored in the instance <me> and there is
the corresponding string in the output argument
<avalue>, False otherwise.
More...
 
virtual Standard_Boolean Value (const Standard_CString aparameter, Handle< Standard_Transient > &avalue) const
 Returns True, if there is a parameter <aparameter>
previously stored in the instance <me> and there is
the corresponding object value in the output argument
<avalue>, False otherwise.
More...
 
- Public Member Functions inherited from Dynamic_FuzzyClass
Handle_Dynamic_ParameterNode FirstParameter () const
 Returns the head of the list of parameters. For the
FuzzyDefinition class this method returns the head of
the exaustive list of parameters defining the object
and for the FuzzyInstance it just returns the head of
the overloaded values.
More...
 
Standard_Boolean Parameter (const Standard_CString aparameter) const
 Returns true if there is a parameter with <aparameter>
as name, false otherwise.
More...
 
void Parameter (const Handle< Dynamic_Parameter > &aparameter)
 Adds another parameter <aparameter> to the sequence of
parameters.
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_FuzzyClass
 Dynamic_FuzzyClass ()
 Creates a FuzzyClass.
More...
 

Detailed Description

This class describes the facilities available to
create and manipulate materials.

Constructor & Destructor Documentation

Materials_Material::Materials_Material ( const Standard_CString  amaterial)

Creates the material <amaterial>.

Member Function Documentation

virtual void Materials_Material::Dump ( Standard_OStream astream) const
virtual

Useful for debugging.

Reimplemented from Materials_FuzzyInstance.

TCollection_AsciiString Materials_Material::Name ( ) const

Returns the name of the material.


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