cartobase  4.5.0
carto::PropertyFilter Class Reference

#include <cartobase/object/propertyfilter.h>

Inheritance diagram for carto::PropertyFilter:
Collaboration diagram for carto::PropertyFilter:

Public Types

typedef ::sigc::signal1< void,
const PropertyFilter & > 
typedef ::sigc::slot1< void,
const PropertyFilter & > 
- Public Types inherited from carto::RCObject
typedef int RefCounterType

Public Member Functions

 PropertyFilter (const std::string &name, const std::set< std::string > &propertyNames)
 PropertyFilter (const std::string &name, const std::string &propertyName)
virtual ~PropertyFilter ()
const std::string & getName () const
SignalgetSignal ()
bool hasProperty (const std::string &propertyName) const
bool hasOldValue (const std::string &propertyName) const
void setOldValue (const std::string &propertyName, const Object &oldValue)
Object getOldValue (const std::string &propertyName) const
void emitsignal ()
- Public Member Functions inherited from carto::RCObject
 RCObject ()
 RCObject (const RCObject &)
RCObjectoperator= (const RCObject &)

Protected Attributes

std::string _name
std::set< std::string > _propertyNames
std::map< std::string, Object_oldValues
Signal _signal

Detailed Description

Definition at line 50 of file propertyfilter.h.

Member Typedef Documentation

typedef ::sigc::signal1< void, const PropertyFilter& > carto::PropertyFilter::Signal

Definition at line 55 of file propertyfilter.h.

typedef ::sigc::slot1< void, const PropertyFilter& > carto::PropertyFilter::Slot

Definition at line 56 of file propertyfilter.h.

Constructor & Destructor Documentation

carto::PropertyFilter::PropertyFilter ( const std::string &  name,
const std::set< std::string > &  propertyNames 
carto::PropertyFilter::PropertyFilter ( const std::string &  name,
const std::string &  propertyName 
virtual carto::PropertyFilter::~PropertyFilter ( )

Member Function Documentation

void carto::PropertyFilter::emitsignal ( )
const std::string& carto::PropertyFilter::getName ( ) const
Object carto::PropertyFilter::getOldValue ( const std::string &  propertyName) const
Signal& carto::PropertyFilter::getSignal ( )
bool carto::PropertyFilter::hasOldValue ( const std::string &  propertyName) const
bool carto::PropertyFilter::hasProperty ( const std::string &  propertyName) const
void carto::PropertyFilter::setOldValue ( const std::string &  propertyName,
const Object oldValue 

Member Data Documentation

std::string carto::PropertyFilter::_name

Definition at line 80 of file propertyfilter.h.

std::map< std::string, Object > carto::PropertyFilter::_oldValues

Definition at line 82 of file propertyfilter.h.

std::set< std::string > carto::PropertyFilter::_propertyNames

Definition at line 81 of file propertyfilter.h.

Signal carto::PropertyFilter::_signal

Definition at line 83 of file propertyfilter.h.

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