Jive reference manual
List of all members | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions
jive::model::FilterModel Class Reference

#include <jive/model/FilterModel.h>

Inheritance diagram for jive::model::FilterModel:
Inheritance graph

Public Member Functions

 FilterModel ()
 
 FilterModel (const String &name, const Ref< Model > &child)
 
virtual void readFrom (ObjectInput &in)
 
virtual void writeTo (ObjectOutput &out) const
 
virtual ModelfindModel (const String &name) const
 
virtual void configure (const Properties &props, const Properties &globdat)
 
virtual void getConfig (const Properties &props, const Properties &globdat) const
 
virtual bool takeAction (const String &action, const Properties &params, const Properties &globdat)
 
void clear ()
 
void addFilter (const String &pattern, const String &action)
 
bool eraseFilter (const String &pattern)
 
- Public Member Functions inherited from jive::model::Model
 Model (const String &name="")
 
 Model (const Self &rhs)
 
virtual String getContext () const
 
void store (const Properties &globdat) const
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< ModelmakeNew (const String &name, const Properties &conf, const Properties &props, const Properties &globdat)
 
static void declare ()
 
- Static Public Member Functions inherited from jive::model::Model
static Ref< Modelfind (const Properties &globdat)
 
static Ref< Modelget (const Properties &globdat, const String &context)
 
static Ref< Modelextract (const Properties &globdat)
 
- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Static Public Attributes

static const char * TYPE_NAME
 

Protected Member Functions

virtual ~FilterModel ()
 
- Protected Member Functions inherited from jive::model::Model
virtual ~Model ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jem::io::Serializable
virtual ~Serializable ()
 
virtual void emitVtableFunc_ ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jive::model::FilterModel::FilterModel ( )
jive::model::FilterModel::FilterModel ( const String name,
const Ref< Model > &  child 
)
virtual jive::model::FilterModel::~FilterModel ( )
protectedvirtual

Member Function Documentation

virtual void jive::model::FilterModel::readFrom ( ObjectInput in)
virtual

Implements jem::io::Serializable.

virtual void jive::model::FilterModel::writeTo ( ObjectOutput out) const
virtual

Implements jem::io::Serializable.

virtual Model* jive::model::FilterModel::findModel ( const String name) const
virtual

Reimplemented from jive::model::Model.

virtual void jive::model::FilterModel::configure ( const Properties props,
const Properties globdat 
)
virtual

Reimplemented from jive::model::Model.

virtual void jive::model::FilterModel::getConfig ( const Properties props,
const Properties globdat 
) const
virtual

Reimplemented from jive::model::Model.

virtual bool jive::model::FilterModel::takeAction ( const String action,
const Properties params,
const Properties globdat 
)
virtual

Implements jive::model::Model.

void jive::model::FilterModel::clear ( )
void jive::model::FilterModel::addFilter ( const String pattern,
const String action 
)
bool jive::model::FilterModel::eraseFilter ( const String pattern)
static Ref<Model> jive::model::FilterModel::makeNew ( const String name,
const Properties conf,
const Properties props,
const Properties globdat 
)
static
static void jive::model::FilterModel::declare ( )
static

Member Data Documentation

const char* jive::model::FilterModel::TYPE_NAME
static