Webmaster  |  Imprint 
C++ Server Pages
Main  |  License  |  Documentation  |  Download 

Compident Struct Reference

#include <tnt/compident.h>

Inherited by Maptarget, and Subcompident.

List of all members.

Public Member Functions

bool operator< (const Compident &ci) const
 Compident (const std::string &l, const std::string &n)
 Creates a component identifyer with a library and component name.
 Compident (const std::string &ident)
const std::string & toString () const
 return component identifyer as a string
bool empty () const
void clear ()

Public Attributes

std::string libname
std::string compname


Detailed Description

This is a class, which names tntnet components. tntnet components are identified by the library, where they reside and a name inside the library. The name is actually a string constant, which was passed to the component factory ctor.

Constructor & Destructor Documentation

Compident ( const std::string &  ident  )  [explicit]

looks for '@' and splits the passed string into libname and compname parts. When no '@' is found, the library part is left empty.

Copyright © 2008 The Tntnet Development Team
Tntnet 1.6