Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

exotkMaterial_Material Class Reference

intern material class. More...

#include <exotkMaterial_Material.hxx>

List of all members.

Public Methods

void * operator new (size_t, void *anAddress)
 OCC new. More...

void * operator new (size_t size)
 OCC new. More...

void operator delete (void *anAddress)
 OCC delete. More...

Standard_EXPORT exotkMaterial_Material (const Graphic3d_MaterialAspect &aMaterial, const TCollection_AsciiString &aName)
 Constructor. More...

virtual Standard_EXPORT ~exotkMaterial_Material ()
 Destructor. More...

virtual Standard_EXPORT void SetMaterial (const Graphic3d_MaterialAspect &aMaterial)
 Set aMaterial. More...

virtual Standard_EXPORT Graphic3d_MaterialAspect Material ()
 Return the material. More...

virtual Standard_EXPORT void SetName (const TCollection_AsciiString &aName)
 Set the name. More...

virtual Standard_EXPORT TCollection_AsciiString Name ()
 Return the name. More...

virtual Standard_EXPORT void SetModifiable (const Standard_Boolean On=Standard_True)
 Set the modifiable flag. More...

virtual Standard_EXPORT Standard_Boolean IsModifiable ()
 Return the modifiable flag. More...

Standard_EXPORT const Handle_Standard_Type & DynamicType () const
 Type management. More...

Standard_EXPORT Standard_Boolean IsKind (const Handle_Standard_Type &) const
 Type management. More...


Static Public Methods

Standard_EXPORT Standard_Integer HashCode (const Handle_exotkMaterial_Material &aMaterial, const Standard_Integer Upper)
 HashCode. More...

Standard_EXPORT Standard_Boolean IsEqual (const Handle_exotkMaterial_Material &aMaterial1, const Handle_exotkMaterial_Material &aMaterial2)
 IsEqual ( test on the name ). More...


Protected Attributes

Graphic3d_MaterialAspect myMaterial
TCollection_AsciiString myName
Standard_Boolean myIsModifiable

Friends

Standard_EXPORT friend Handle_Standard_Type & exotkMaterial_Material_Type_ ()
 Type management. More...


Detailed Description

intern material class.

Author:
Stephane Routelous

Definition at line 54 of file exotkMaterial_Material.hxx.


Constructor & Destructor Documentation

exotkMaterial_Material::exotkMaterial_Material const Graphic3d_MaterialAspect &    aMaterial,
const TCollection_AsciiString &    aName
 

Constructor.

Parameters:
aMaterial  const Graphic3d_MaterialAspect&
aName  const TCollection_AsciiString&

Definition at line 64 of file exotkMaterial_Material.cxx.

exotkMaterial_Material::~exotkMaterial_Material   [virtual]
 

Destructor.

Definition at line 77 of file exotkMaterial_Material.cxx.


Member Function Documentation

Handle_Standard_Type & exotkMaterial_Material::DynamicType   const
 

Type management.

Returns:
const Handle_Standard_Type&

exotkMaterial_Material::HashCode const Handle_exotkMaterial_Material   aMaterial,
const Standard_Integer    Upper
[static]
 

HashCode.

Returns:
Standard_Integer
Parameters:
aMaterial  const Handle_exotkMaterial_Material&
Upper  const Standard_Integer

Definition at line 141 of file exotkMaterial_Material.cxx.

exotkMaterial_Material::IsEqual const Handle_exotkMaterial_Material   aMaterial1,
const Handle_exotkMaterial_Material   aMaterial2
[static]
 

IsEqual ( test on the name ).

Returns:
Standard_Boolean
Parameters:
aMaterial1  const Handle_exotkMaterial_Material&
aMaterial2  const Handle_exotkMaterial_Material&

Definition at line 155 of file exotkMaterial_Material.cxx.

exotkMaterial_Material::IsKind const Handle_Standard_Type &    const
 

Type management.

Returns:
Standard_Boolean
Parameters:
const  Handle_Standard_Type&

exotkMaterial_Material::IsModifiable   [virtual]
 

Return the modifiable flag.

Returns:
Standard_Boolean

Definition at line 173 of file exotkMaterial_Material.cxx.

References myIsModifiable.

exotkMaterial_Material::Material   [virtual]
 

Return the material.

Returns:
Graphic3d_MaterialAspect

Definition at line 102 of file exotkMaterial_Material.cxx.

References myMaterial.

exotkMaterial_Material::Name   [virtual]
 

Return the name.

Returns:
TCollection_AsciiString

Definition at line 127 of file exotkMaterial_Material.cxx.

References myName.

void exotkMaterial_Material::operator delete void *    anAddress [inline]
 

OCC delete.

Returns:
inline void
Parameters:
void  *anAddress

Definition at line 87 of file exotkMaterial_Material.hxx.

void * exotkMaterial_Material::operator new size_t    size [inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t  size

Definition at line 76 of file exotkMaterial_Material.hxx.

void * exotkMaterial_Material::operator new size_t   ,
void *    anAddress
[inline]
 

OCC new.

Returns:
inline void*
Parameters:
size_t 
void  * anAddress

Definition at line 65 of file exotkMaterial_Material.hxx.

exotkMaterial_Material::SetMaterial const Graphic3d_MaterialAspect &    aMaterial [virtual]
 

Set aMaterial.

Parameters:
aMaterial  const Graphic3d_MaterialAspect&

Definition at line 90 of file exotkMaterial_Material.cxx.

References myMaterial.

exotkMaterial_Material::SetModifiable const Standard_Boolean    On = Standard_True [virtual]
 

Set the modifiable flag.

Parameters:
On  const Standard_Boolean = Standard_True

Definition at line 186 of file exotkMaterial_Material.cxx.

References myIsModifiable.

exotkMaterial_Material::SetName const TCollection_AsciiString &    aName [virtual]
 

Set the name.

Parameters:
aName  const TCollection_AsciiString&

Definition at line 115 of file exotkMaterial_Material.cxx.

References myName.


Friends And Related Function Documentation

Handle_Standard_Type & exotkMaterial_Material::exotkMaterial_Material_Type_   [friend]
 

Type management.

Returns:
friend Handle_Standard_Type&


Member Data Documentation

Standard_Boolean exotkMaterial_Material::myIsModifiable [protected]
 

the modifiable flag

Definition at line 198 of file exotkMaterial_Material.hxx.

Referenced by IsModifiable(), and SetModifiable().

Graphic3d_MaterialAspect exotkMaterial_Material::myMaterial [protected]
 

the material

Definition at line 194 of file exotkMaterial_Material.hxx.

Referenced by Material(), and SetMaterial().

TCollection_AsciiString exotkMaterial_Material::myName [protected]
 

the name

Definition at line 196 of file exotkMaterial_Material.hxx.

Referenced by Name(), and SetName().


The documentation for this class was generated from the following files:
Generated on Wed Jan 23 12:18:33 2002 for exotk by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001