PiPo
Plug In Plug Out / Plugin Interface for Processing Objects
PiPoScalarAttr< TYPE > Class Template Reference
Inheritance diagram for PiPoScalarAttr< TYPE >:
PiPo::Attr

Public Member Functions

 PiPoScalarAttr (PiPo *pipo, const char *name, const char *descr, bool changesStream, TYPE initVal=(TYPE) 0)
 
void set (TYPE value, bool silently=false)
 
TYPE get (void)
 
void clone (Attr *other)
 
unsigned int setSize (unsigned int size)
 
unsigned int getSize (void)
 
void set (unsigned int i, int val, bool silently=false)
 
void set (unsigned int i, double val, bool silently=false)
 
void set (unsigned int i, const char *val, bool silently=false)
 
int getInt (unsigned int i=0)
 
double getDbl (unsigned int i=0)
 
const char * getStr (unsigned int i=0)
 
- Public Member Functions inherited from PiPo::Attr
 Attr (PiPo *pipo, const char *name, const char *descr, const std::type_info *type, bool changesStream)
 
void setIndex (unsigned int index)
 
void setName (const char *name)
 
void setDescr (const char *descr)
 
unsigned int getIndex (void)
 
const char * getName (void)
 
const char * getDescr (void)
 
enum Type getType (void)
 
bool doesChangeStream (void)
 
virtual void clone (Attr *other)=0
 
virtual std::vector< const char * > * getEnumList (void)
 
void changed (bool silently=false)
 
void rename (const char *name)