ContextTypeInfo Class Reference

#include <contexttypeinfo.h>

Inheritance diagram for ContextTypeInfo:

AssocTree ContextListInfo ContextStringEnumInfo

List of all members.

Public Member Functions

 ContextTypeInfo (const AssocTree &tree)
 ContextTypeInfo (const QVariant &tree)
 ContextTypeInfo ()
ContextTypeInfo ensureNewTypes ()
 Returns a ContexTypeInfo where old-style type names (INTEGER, STRING, BOOL) are replaced with new-style type names (integer, string, bool).
bool typeCheck (const QVariant &value) const
 Verifies if value is acceptable as a representative of the type that this ContextTypeInfo object describes.
bool hasBase (QString wanted, int depth=10) const
ContextTypeInfo getBase (QString wanted, int depth=10) const
QVariantList parameters () const
QVariant parameterValue (QString p) const
AssocTree parameterNode (QString p) const
AssocTree definition () const
 Returns the AssocTree with the type definition for this type.
QString parameterDoc (QString p) const
QString doc () const
ContextTypeInfo base () const


Constructor & Destructor Documentation

ContextTypeInfo::ContextTypeInfo ( const AssocTree tree  ) 

ContextTypeInfo::ContextTypeInfo ( const QVariant &  tree  ) 

ContextTypeInfo::ContextTypeInfo (  ) 


Member Function Documentation

ContextTypeInfo ContextTypeInfo::ensureNewTypes (  ) 

Returns a ContexTypeInfo where old-style type names (INTEGER, STRING, BOOL) are replaced with new-style type names (integer, string, bool).

Returns self if the ContextTypeInfo is already new-style.

bool ContextTypeInfo::typeCheck ( const QVariant &  value  )  const

Verifies if value is acceptable as a representative of the type that this ContextTypeInfo object describes.

bool ContextTypeInfo::hasBase ( QString  wanted,
int  depth = 10 
) const

ContextTypeInfo ContextTypeInfo::getBase ( QString  wanted,
int  depth = 10 
) const

QVariantList ContextTypeInfo::parameters (  )  const

QVariant ContextTypeInfo::parameterValue ( QString  p  )  const

AssocTree ContextTypeInfo::parameterNode ( QString  p  )  const

AssocTree ContextTypeInfo::definition (  )  const

Returns the AssocTree with the type definition for this type.

QString ContextTypeInfo::parameterDoc ( QString  p  )  const

QString ContextTypeInfo::doc (  )  const

ContextTypeInfo ContextTypeInfo::base (  )  const


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

Generated on Thu Feb 21 18:31:19 2013 for libcontextsubscriber by  doxygen 1.5.6