ALBA
Public Member Functions | Public Attributes | List of all members
albaStorableMaterialLibrary Class Reference

#include <albaGUIMaterialChooser.h>

Inheritance diagram for albaStorableMaterialLibrary:
Inheritance graph
[legend]
Collaboration diagram for albaStorableMaterialLibrary:
Collaboration graph
[legend]

Public Member Functions

 albaTypeMacro (albaStorableMaterialLibrary, albaObject)
 
 albaStorableMaterialLibrary ()
 
 albaStorableMaterialLibrary (std::vector< mmaMaterial * > *mat_list)
 
 ~albaStorableMaterialLibrary ()
 
int InternalStore (albaStorageElement *parent)
 
int InternalRestore (albaStorageElement *node)
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 
- Public Member Functions inherited from albaStorable
 albaStorable ()
 
int Store (albaStorageElement *element)
 
int Restore (albaStorageElement *element)
 
albaObjectCastToObject ()
 
bool IsStorable ()
 

Public Attributes

std::vector< mmaMaterial * > * m_MaterialList
 

Additional Inherited Members

- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Static Public Member Functions inherited from albaStorable
static albaStorableSafeCastToObject (albaObject *o)
 
virtual int InternalStore (albaStorageElement *node)=0
 
virtual int InternalRestore (albaStorageElement *node)=0
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 
- Protected Attributes inherited from albaStorable
bool m_Storable
 

Detailed Description

Definition at line 130 of file albaGUIMaterialChooser.h.

Constructor & Destructor Documentation

◆ albaStorableMaterialLibrary() [1/2]

albaStorableMaterialLibrary::albaStorableMaterialLibrary ( )
inline

Definition at line 135 of file albaGUIMaterialChooser.h.

◆ albaStorableMaterialLibrary() [2/2]

albaStorableMaterialLibrary::albaStorableMaterialLibrary ( std::vector< mmaMaterial * > *  mat_list)

◆ ~albaStorableMaterialLibrary()

albaStorableMaterialLibrary::~albaStorableMaterialLibrary ( )
inline

Definition at line 137 of file albaGUIMaterialChooser.h.

Member Function Documentation

◆ albaTypeMacro()

albaStorableMaterialLibrary::albaTypeMacro ( albaStorableMaterialLibrary  ,
albaObject   
)

◆ InternalStore()

int albaStorableMaterialLibrary::InternalStore ( albaStorageElement node)
virtual

This is called by Store() and must be reimplemented by subclasses.

The node element where the object should store itself is passed as argument.

Implements albaStorable.

◆ InternalRestore()

int albaStorableMaterialLibrary::InternalRestore ( albaStorageElement node)
virtual

This is called by Restore() and must be reimplemented by subclasses The element from which the object should restore itself is passed as argument.

Implements albaStorable.

Member Data Documentation

◆ m_MaterialList

std::vector<mmaMaterial *>* albaStorableMaterialLibrary::m_MaterialList

Definition at line 140 of file albaGUIMaterialChooser.h.


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