guit  0.1
 All Classes Functions Variables Typedefs Enumerations Friends
Public Member Functions | Static Public Member Functions | List of all members
guit::GPropType Class Reference

Base of Prop Types (kind of metaclass). More...

Public Member Functions

void operator delete (void *)
 The delete operator does nothing and should not be used.
 
GString const & name () const
 Return the name and the role of the proptype (depends of subclass).
 
virtual GPropnewInstance () noexcept(false)
 Instantiates a Prop of this type (redefined in subclasses). More...
 

Static Public Member Functions

static GPropcreateInstance (GString const &type_name, GString const &arg, bool css_style=false)
 Instantiates a Prop according to the specified type name.
 
static GPropTypefindType (GString const &type_name)
 Returns the type corresponding to this name if it exists, null otherwise.
 

Detailed Description

Base of Prop Types (kind of metaclass).

Member Function Documentation

GProp & guit::GPropType::newInstance ( )
virtualnoexcept

Instantiates a Prop of this type (redefined in subclasses).

Warning
: Throws if the prop is not instantiable (classes deriving from GVarProp are instantiable).

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