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

Public Member Functions

 SG2D (int rcnm, int rcid)
 
virtual void set (int index, int x, int y)
 
bool done ()
 
bool getStart (int &rcnm, int &rcid)
 
bool getEnd (int &rcnm, int &rcid)
 
void setStart (int rcnm, int rcid)
 
void setEnd (int rcnm, int rcid)
 
bool checkStart (int rcnm, int rcid)
 
bool checkEnd (int rcnm, int rcid)
 
SG2D * getNext ()
 
float getDepth ()
 
void setDepth (const float depth)
 
- Public Member Functions inherited from SGND
 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)
 
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 Public Member Functions

static SG2D * Find (SG2D *start, int rcnm, int rcid)
 

Private Member Functions

 SG2D (const SG2D &old)
 

Private Attributes

int startRcnm_
 
int startRcid_
 
int endRcnm_
 
int endRcid_
 
float depth_
 

Additional Inherited Members

- Static Protected Member Functions inherited from SGND
static SGND * Find (SGND *start, int rcnm, int rcid)
 
- Protected Attributes inherited from SGND
int rcnm_
 
int rcid_
 
int length_
 
int * x_
 
int * y_
 
bool used_
 
SGND * next_
 
bool reverse_
 

Constructor & Destructor Documentation

SG2D::SG2D ( int  rcnm,
int  rcid 
)
inline
SG2D::SG2D ( const SG2D &  old)
private

Member Function Documentation

bool SG2D::checkEnd ( int  rcnm,
int  rcid 
)
inline

References endRcid_, and endRcnm_.

bool SG2D::checkStart ( int  rcnm,
int  rcid 
)
inline

References startRcid_, and startRcnm_.

bool SG2D::done ( )
inline
static SG2D* SG2D::Find ( SG2D *  start,
int  rcnm,
int  rcid 
)
inlinestatic

References SGND::Find().

Referenced by main().

float SG2D::getDepth ( )
inline

References depth_.

Referenced by main().

bool SG2D::getEnd ( int &  rcnm,
int &  rcid 
)
inline

References endRcid_, and endRcnm_.

Referenced by main().

SG2D* SG2D::getNext ( )
inline

References SGND::next_.

Referenced by main().

bool SG2D::getStart ( int &  rcnm,
int &  rcid 
)
inline

References startRcid_, and startRcnm_.

Referenced by main().

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

Reimplemented from SGND.

References endRcid_, endRcnm_, SGND::length_, SGND::set(), startRcid_, and startRcnm_.

Referenced by main().

void SG2D::setDepth ( const float  depth)
inline

References depth_.

Referenced by main().

void SG2D::setEnd ( int  rcnm,
int  rcid 
)
inline

References endRcid_, and endRcnm_.

Referenced by main().

void SG2D::setStart ( int  rcnm,
int  rcid 
)
inline

References startRcid_, and startRcnm_.

Referenced by main().

Member Data Documentation

float SG2D::depth_
private

Referenced by getDepth(), and setDepth().

int SG2D::endRcid_
private

Referenced by checkEnd(), done(), getEnd(), set(), and setEnd().

int SG2D::endRcnm_
private

Referenced by checkEnd(), done(), getEnd(), set(), and setEnd().

int SG2D::startRcid_
private

Referenced by checkStart(), done(), getStart(), set(), and setStart().

int SG2D::startRcnm_
private

Referenced by checkStart(), done(), getStart(), set(), and setStart().


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