The Vish Visualization Shell 0.3
Vish
Wizt::VCreatorProperties Class Reference

A set of properties for a VCreator , VCreatorProperty. More...

#include <ocean/plankton/VCreatorProperties.hpp>

Inheritance diagram for Wizt::VCreatorProperties:
Wizt::VCreatorProperty< UINT_MAX > Wizt::VCreatorPropertyBase Wizt::VCreatorPropertyElements

Public Member Functions

 VCreatorProperties (const string &keyname, const string &Description="", const string &Operatorname="")
 Creator with key, description and operator (deprecated).
template<unsigned ID>
 VCreatorProperties (const VCreatorProperty< ID > &VP)
 Creator with arbitrary set of properties (prefrable!).
 ~VCreatorProperties ()
 destructor
Public Member Functions inherited from Wizt::VCreatorProperty< UINT_MAX >
 VCreatorProperty ()
 Empty constructor.
Public Member Functions inherited from Wizt::VCreatorPropertyBase
stringApplication ()
 Application domain.
const stringApplication () const
 Application domain.
stringArguments ()
 Textual description of acceptable arguments, see POLYMORPHY.
const stringArguments () const
 Textual description of acceptable arguments, see POLYMORPHY.
void assign (const VCreatorPropertyBase &l)
 Assignment - copy only those strings that are non-empty, otherwise status quo is kept.
string Author () const
 authorship information, looked up from authors.txt
stringAuthorKey ()
 authorship information
const stringAuthorKey () const
 author key
stringCategory ()
 Group of creators.
const stringCategory () const
 Group of creators.
stringDescription ()
 Descriptive name, UTF8 characters allowed.
const stringDescription () const
 Descriptive name, UTF8 characters allowed.
stringhelpurl ()
 relative URL for integrated help for this creator
const stringhelpurl () const
 relative URL for integrated help for this creator
stringIdentifier ()
 Identifier within this group.
const stringIdentifier () const
 Identifier within this group.
string keyname (const char separator[]="/") const
 globally unique name
std::string & operator() (unsigned i)
 Retrieve property i, writeable.
const stringoperator() (unsigned i) const
 Retrieve property i, readonly.
stringOperatorName ()
 Ideally a single UTF8 character, for operators.
const stringOperatorName () const
 Ideally a single UTF8 character, for operators.
stringshorthelp ()
 short help string, for tooltip descriptions
const stringshorthelp () const
 short help string, for tooltip descriptions
stringSourceFile ()
 Source code file.
const stringSourceFile () const
 Source code file.
stringurl ()
 Weburl for further info about this object.
const stringurl () const
 Weburl for further info about this object.

Additional Inherited Members

Public Types inherited from Wizt::VCreatorPropertyElements
enum  {
  CATEGORY , TEXTIDENTIFIER , POLYMORPHY , DESCRIPTION ,
  OPERATORNAME , OPERATORFONT , SHORTHELP , AUTHOR ,
  HELPURL , URL , APPLICATION , APPLICATION_DOMAIN = APPLICATION ,
  SOURCE_FILE , COMPILATION_DATE , RESERVED_1 , RESERVED_2 ,
  RESERVED_3 , RESERVED_4 , MAX_PROPERTY , APPLICATION_SEPARATOR = ';'
}
Protected Types inherited from Wizt::VCreatorPropertyBase
enum  { NumberOfProperties = VCreatorPropertyElements::MAX_PROPERTY }
Protected Attributes inherited from Wizt::VCreatorPropertyBase
std::string txt [NumberOfProperties]
 A textual description for each property.

Detailed Description

A set of properties for a VCreator , VCreatorProperty.

See also
Panthalassa syntax for object construction.

Constructor & Destructor Documentation

◆ VCreatorProperties()

Wizt::VCreatorProperties::VCreatorProperties ( const string & keyname,
const string & Description = "",
const string & Operatorname = "" )

Creator with key, description and operator (deprecated).

Syntax for the keyname: Category/Identifier(arguments)

Using this constructor via a keyname requires parsing the keyname using special characters, namely "/", "(" and ")". It is recommended to use the alternative constructor via VCreatorProperty<> objects instead which will pose no restriction on the used characters.

References Wizt::VCreatorPropertyBase::OperatorName().