Uc_label Class Reference

#include <uclabel.h>

Collaboration diagram for Uc_label:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Uc_label (std::string n)
 Uc_label (std::string n, int o)
std::string & get_name ()
std::vector< int > & get_references ()
int get_offset () const
bool is_valid () const
bool set_offset (int o)
void add_reference (int offset)

Private Attributes

std::string name
std::vector< int > references
int offset
bool valid

Detailed Description

Definition at line 25 of file uclabel.h.


Constructor & Destructor Documentation

Uc_label::Uc_label ( std::string  n  )  [inline]

Definition at line 34 of file uclabel.h.

Uc_label::Uc_label ( std::string  n,
int  o 
) [inline]

Definition at line 36 of file uclabel.h.


Member Function Documentation

std::string& Uc_label::get_name (  )  [inline]

Definition at line 39 of file uclabel.h.

References name.

Referenced by Uc_function::add_label().

std::vector<int>& Uc_label::get_references (  )  [inline]

Definition at line 40 of file uclabel.h.

References references.

int Uc_label::get_offset (  )  const [inline]

Definition at line 41 of file uclabel.h.

References offset.

bool Uc_label::is_valid (  )  const [inline]

Definition at line 42 of file uclabel.h.

References valid.

bool Uc_label::set_offset ( int  o  )  [inline]

Definition at line 44 of file uclabel.h.

References offset, and valid.

void Uc_label::add_reference ( int  offset  )  [inline]

Definition at line 52 of file uclabel.h.

References references.


Member Data Documentation

std::string Uc_label::name [private]

Definition at line 28 of file uclabel.h.

Referenced by get_name().

std::vector<int> Uc_label::references [private]

Definition at line 29 of file uclabel.h.

Referenced by add_reference(), and get_references().

int Uc_label::offset [private]

Definition at line 31 of file uclabel.h.

Referenced by get_offset(), and set_offset().

bool Uc_label::valid [private]

Definition at line 32 of file uclabel.h.

Referenced by is_valid(), and set_offset().


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 15:04:44 2007 for ExultEngine by  doxygen 1.5.1