LRAUV  revA
SGND Class Reference
Inheritance diagram for SGND:
Collaboration diagram for SGND:

Public Member Functions

 SGND (int rcnm, int rcid)
 
virtual ~SGND ()
 
int getLength ()
 
int getRcnm ()
 
int getRcid ()
 
virtual void setLength (int length)
 
virtual bool check (int rcnm, int rcid)
 
virtual void set (int index, int x, int y)
 
void setNext (SGND *next)
 
int getX (int index)
 
int getY (int index)
 
void setUsed (bool used)
 
bool isUsed ()
 
bool isReverse ()
 
void setReverse (const bool reverse)
 

Static Protected Member Functions

static SGNDFind (SGND *start, int rcnm, int rcid)
 

Protected Attributes

int rcnm_
 
int rcid_
 
int length_
 
int * x_
 
int * y_
 
bool used_
 
SGNDnext_
 
bool reverse_
 

Private Member Functions

 SGND (const SGND &old)
 

Constructor & Destructor Documentation

SGND::SGND ( int  rcnm,
int  rcid 
)
inline
virtual SGND::~SGND ( )
inlinevirtual

References next_, and setLength().

SGND::SGND ( const SGND old)
private

Member Function Documentation

virtual bool SGND::check ( int  rcnm,
int  rcid 
)
inlinevirtual

References rcid_, and rcnm_.

Referenced by Find().

static SGND* SGND::Find ( SGND start,
int  rcnm,
int  rcid 
)
inlinestaticprotected

References check(), and next_.

Referenced by SG2D::Find(), and SG3D::Find().

int SGND::getLength ( )
inline

References length_.

Referenced by main().

int SGND::getRcid ( )
inline

References rcid_.

int SGND::getRcnm ( )
inline

References rcnm_.

int SGND::getX ( int  index)
inline

References length_, reverse_, and x_.

Referenced by main().

int SGND::getY ( int  index)
inline

References length_, reverse_, and y_.

Referenced by main().

bool SGND::isReverse ( )
inline

References reverse_.

bool SGND::isUsed ( )
inline

References used_.

virtual void SGND::set ( int  index,
int  x,
int  y 
)
inlinevirtual

Reimplemented in SG2D.

References length_, x_, and y_.

Referenced by SG2D::set(), and SG3D::set().

virtual void SGND::setLength ( int  length)
inlinevirtual

Reimplemented in SG3D.

References length_, x_, and y_.

Referenced by main(), SG3D::setLength(), and ~SGND().

void SGND::setNext ( SGND next)
inline

References next_.

Referenced by main().

void SGND::setReverse ( const bool  reverse)
inline

References reverse_.

Referenced by main().

void SGND::setUsed ( bool  used)
inline

References used_.

Referenced by main().

Member Data Documentation

SGND* SGND::next_
protected
int SGND::rcid_
protected

Referenced by check(), and getRcid().

int SGND::rcnm_
protected

Referenced by check(), and getRcnm().

bool SGND::reverse_
protected
bool SGND::used_
protected

Referenced by isUsed(), and setUsed().

int* SGND::x_
protected

Referenced by getX(), set(), and setLength().

int* SGND::y_
protected

Referenced by getY(), set(), and setLength().


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