ProtoZed  awesome branch
A simple but powerful game framework
Public Member Functions | Protected Member Functions | Friends | List of all members
PZ::PropertyList Class Reference
Inheritance diagram for PZ::PropertyList:
PZ::Component PZ::Position2D PZ::SceneNode PZ::SoundEmitter PZ::Sprite

Public Member Functions

 PropertyList ()
 
virtual ~PropertyList ()
 
bool AddProperty (PropertyBase &prop)
 
bool RemoveProperty (const std::string &name)
 
void ClearProperties ()
 
bool HasProperty (const std::string &name) const
 
PropertyBaseGetProperty (const std::string &name)
 
const PropertyBaseGetProperty (const std::string &name) const
 
template<typename T >
Property< T > & GetProperty (const std::string &name)
 
template<typename T >
const Property< T > & GetProperty (const std::string &name) const
 
const PropertyMapGetAllProperties () const
 

Protected Member Functions

virtual void PropertyUpdated (const PropertyBase &prop)
 

Friends

class PropertyBase
 

Constructor & Destructor Documentation

PZ::PropertyList::PropertyList ( )
virtual PZ::PropertyList::~PropertyList ( )
virtual

Member Function Documentation

bool PZ::PropertyList::AddProperty ( PropertyBase prop)
void PZ::PropertyList::ClearProperties ( )
const PropertyMap& PZ::PropertyList::GetAllProperties ( ) const
inline
PropertyBase& PZ::PropertyList::GetProperty ( const std::string &  name)
const PropertyBase& PZ::PropertyList::GetProperty ( const std::string &  name) const
template<typename T >
Property<T>& PZ::PropertyList::GetProperty ( const std::string &  name)
inline
template<typename T >
const Property<T>& PZ::PropertyList::GetProperty ( const std::string &  name) const
inline
bool PZ::PropertyList::HasProperty ( const std::string &  name) const
virtual void PZ::PropertyList::PropertyUpdated ( const PropertyBase prop)
inlineprotectedvirtual

Reimplemented in PZ::Position2D, and PZ::Component.

bool PZ::PropertyList::RemoveProperty ( const std::string &  name)

Friends And Related Function Documentation

friend class PropertyBase
friend

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