AMSmartProperties  201
Core library
Classes | Enumerations | Functions
AMProperty.h File Reference
#include <exception>
#include <string>
#include <sstream>
#include <AMSmartProperties/AMFunction.h>
Include dependency graph for AMProperty.h:

Go to the source code of this file.

Classes

class  AMSmartProperties::AMPropertyGeneralException
 Generic functor type for specified type of property. More...
 
class  AMSmartProperties::AMPropertyDeletedException
 This exception is thrown when compuded property depends on deleted property. More...
 
class  AMSmartProperties::AMPropertyLoopException
 This exception is thrown when loop is detected. More...
 
class  AMSmartProperties::AMPropertyNestingException
 This exception is thrown when too much properties was nested. More...
 
class  AMSmartProperties::AMPropertyPool
 AMSmartProperties::AMPropertyPool is a property pool for smart properties. More...
 
class  AMSmartProperties::AMPropertyBase
 Base interface and basic fuction for smart property. Most of these funcions can be used, whenever you have only reference to base class. But, in spite of this base class is not virtual, you can't instantiate it directly. More...
 
class  AMSmartProperties::AMPropertyNonBase
 "NULL" type class. Used by AMSmartProperties::AMProperty, when parent class is not defined. More...
 
class  AMSmartProperties::AMProperty< T, TSubProperties, TParent, pointer_member >
 Smart property class. More...
 
class  AMSmartProperties::AMPropertyRefBase
 Smart property reference base class. More...
 
class  AMSmartProperties::AMProperty< T, TSubProperties, TParent, pointer_member >
 Smart property class. More...
 

Enumerations

enum  AMSmartProperties::AMPropertyState {
  AMSmartProperties::NORMAL = 0, AMSmartProperties::COMPUTING = 1, AMSmartProperties::NOCOMPUTED = 2, AMSmartProperties::NOCOMPUTED_COMPUTING = 3,
  AMSmartProperties::VALUEONLY = 4, AMSmartProperties::VALUEONLY_COMPUTING = 5, AMSmartProperties::VALUEONLY_NOCOMPUTED = 6, AMSmartProperties::VALUEONLY_NOCOMPUTED_COMPUTING = 7,
  AMSmartProperties::MODIFIED = 8, AMSmartProperties::MODIFIED_COMPUTING = 9, AMSmartProperties::MODIFIED_NOCOMPUTED = 10, AMSmartProperties::MODIFIED_NOCOMPUTED_COMPUTING = 11,
  AMSmartProperties::MODIFIED_VALUEONLY = 12, AMSmartProperties::MODIFIED_VALUEONLY_COMPUTING = 13, AMSmartProperties::MODIFIED_VALUEONLY_NOCOMPUTED = 14, AMSmartProperties::MODIFIED_VALUEONLY_NOCOMPUTED_COMPUTING = 15,
  AMSmartProperties::DESTROYED_NORMAL = 16, AMSmartProperties::DESTROYED_COMPUTING = 17, AMSmartProperties::DESTROYED_NOCOMPUTED = 18, AMSmartProperties::DESTROYED_NOCOMPUTED_COMPUTING = 19,
  AMSmartProperties::DESTROYED_VALUEONLY = 20, AMSmartProperties::DESTROYED_VALUEONLY_COMPUTING = 21, AMSmartProperties::DESTROYED_VALUEONLY_NOCOMPUTED = 22, AMSmartProperties::DESTROYED_VALUEONLY_NOCOMPUTED_COMPUTING = 23,
  AMSmartProperties::DESTROYED_MODIFIED = 24, AMSmartProperties::DESTROYED_MODIFIED_COMPUTING = 25, AMSmartProperties::DESTROYED_MODIFIED_NOCOMPUTED = 26, AMSmartProperties::DESTROYED_MODIFIED_NOCOMPUTED_COMPUTING = 27,
  AMSmartProperties::DESTROYED_MODIFIED_VALUEONLY = 28, AMSmartProperties::DESTROYED_MODIFIED_VALUEONLY_COMPUTING = 29, AMSmartProperties::DESTROYED_MODIFIED_VALUEONLY_NOCOMPUTED = 30, AMSmartProperties::DESTROYED_MODIFIED_VALUEONLY_NOCOMPUTED_COMPUTING = 31
}
 Smart property state This is combined state for each property. Bits 3-4 are stored in AMSmartProperties::AMPropertyPool, bits 0-2 are stored on each property (AMSmartProperties::AMProperty) itself. More...
 

Functions

std::string AMSmartProperties::to_string (const AMPropertyState &state)
 Converts AMPropertyState to std::string. More...
 

Detailed Description

Smart properties itself.

Author
Zdeněk Skulínek <me@zdenekskulinek.cz>