Labeled Class Reference
[Classes for basic data types and vectors/arrays (tjutils library)]

#include <tjlabel.h>

Inheritance diagram for Labeled:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Labeled (const STD_string &label="unnamed")
Labeledset_label (const STD_string &label)
const STD_string & get_label () const
Labeledoperator= (const Labeled &l)

Detailed Description

This is the base class for all classes which can have a (unique) label

Definition at line 31 of file tjlabel.h.


Constructor & Destructor Documentation

Labeled::Labeled ( const STD_string &  label = "unnamed"  )  [inline]

Constructor with initialization of label

Definition at line 38 of file tjlabel.h.


Member Function Documentation

Labeled& Labeled::set_label ( const STD_string &  label  )  [inline]

Assigns a label to the object

Definition at line 43 of file tjlabel.h.

const STD_string& Labeled::get_label (  )  const [inline]

Returns the label of the object

Definition at line 48 of file tjlabel.h.

Labeled& Labeled::operator= ( const Labeled l  )  [inline]

Assignment operator

Definition at line 54 of file tjlabel.h.


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 12:31:42 2008 by  doxygen 1.5.1