UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Attributes | List of all members
ZqbName Class Reference

#include <zqb_name.hpp>

Inheritance diagram for ZqbName:
ZqbAutoName ZqbAutoName ZqbHeaderDef ZqbHeaderDef ZdDocument ZdDocument ZqbNatGroup ZqbNatGroup ZqbPixGroup ZqbPixGroup ZqbPixGrpManager ZqbPixGrpManager ZqbPlaceholder ZqbPlaceholder ZqbView ZqbView ZqObject ZqObject ZdDocument ZdDocument ZqbNatGroup ZqbNatGroup ZqbPixGroup ZqbPixGroup ZqbPixGrpManager ZqbPixGrpManager ZqbPlaceholder ZqbPlaceholder ZqbView ZqbView ZqObject ZqObject

Public Member Functions

 ZqbName (const char *szRoot, const char *szCustomName=NULL)
 
 ZqbName (const ZqbName &name)
 
virtual ~ZqbName ()
 
ZqbNameoperator= (const ZqbName &name)
 
virtual const char * getName () const
 
virtual const char * getType () const
 
bool hasName (const char *szString) const
 
 ZqbName (const char *szRoot, const char *szCustomName=NULL)
 
 ZqbName (const ZqbName &name)
 
virtual ~ZqbName ()
 
ZqbNameoperator= (const ZqbName &name)
 
virtual const char * getName () const
 
virtual const char * getType () const
 
bool hasName (const char *szString) const
 

Protected Attributes

char * m_szName
 
char * m_szRoot
 

Detailed Description

Class for custom name assignment as well as for hand-made RTTI (via getType() method).

Constructor & Destructor Documentation

ZqbName::ZqbName ( const char *  szRoot,
const char *  szCustomName = NULL 
)

Create naming object with custom name and type. Name may be omitted then type will be used instead.

ZqbName::ZqbName ( const ZqbName name)

Create copy of given name.

virtual ZqbName::~ZqbName ( )
virtual

Destroy the name.

ZqbName::ZqbName ( const char *  szRoot,
const char *  szCustomName = NULL 
)

Create naming object with custom name and type. Name may be omitted then type will be used instead.

ZqbName::ZqbName ( const ZqbName name)

Create copy of given name.

virtual ZqbName::~ZqbName ( )
virtual

Destroy the name.

Member Function Documentation

virtual const char* ZqbName::getName ( ) const
inlinevirtual

Return the name (or type if the name is not defined).

virtual const char* ZqbName::getName ( ) const
inlinevirtual

Return the name (or type if the name is not defined).

virtual const char* ZqbName::getType ( ) const
inlinevirtual

Return the root part of name - type of the object.

virtual const char* ZqbName::getType ( ) const
inlinevirtual

Return the root part of name - type of the object.

bool ZqbName::hasName ( const char *  szString) const

Check for this name presence in given string as substring bounded by special characters. Use this feature for debugging purpose.

bool ZqbName::hasName ( const char *  szString) const

Check for this name presence in given string as substring bounded by special characters. Use this feature for debugging purpose.

ZqbName& ZqbName::operator= ( const ZqbName name)

Assign the name from another object.

ZqbName& ZqbName::operator= ( const ZqbName name)

Assign the name from another object.

Member Data Documentation

char * ZqbName::m_szName
protected

Name of this object.

char * ZqbName::m_szRoot
protected

Type of this object.


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