Public Member Functions | List of all members

#include <tjlabel.h>

Inheritance diagram for Labeled:
Inheritance graph

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::Labeled ( const STD_string &  label = "unnamed")

Constructor with initialization of label

Definition at line 38 of file tjlabel.h.

Member Function Documentation

§ get_label()

const STD_string& Labeled::get_label ( ) const

Returns the label of the object

Definition at line 48 of file tjlabel.h.

§ operator=()

Labeled& Labeled::operator= ( const Labeled l)

Assignment operator

Definition at line 54 of file tjlabel.h.

§ set_label()

Labeled& Labeled::set_label ( const STD_string &  label)

Assigns a label to the object

Definition at line 43 of file tjlabel.h.

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