SiGraph: sulcal graphs


sigraph::DBVectorLearnable Class Reference

#include <si/learnable/vectorLearnable.h>

Inheritance diagram for sigraph::DBVectorLearnable:
Collaboration diagram for sigraph::DBVectorLearnable:

Public Member Functions

 DBVectorLearnable (const DBLearnable *db, unsigned int ind)
 
virtual ~DBVectorLearnable ()
 
virtual std::vector< double > X () const
 Converter.
 
virtual std::vector< double > Y () const
 
virtual std::string INF (unsigned int ind) const
 
virtual std::string INF (std::string &label) const
 
virtual int sizeX () const
 inline / accessors
 
virtual int sizeY () const
 
virtual int sizeINF () const
 
virtual double getX (unsigned int ind) const
 
virtual double getY (unsigned int ind) const
 
virtual char * getINF (unsigned int ind) const
 
virtual char * getINF (std::string &label) const
 
- Public Member Functions inherited from sigraph::VectorLearnable
virtual ~VectorLearnable ()
 
- Public Member Functions inherited from sigraph::Learnable
virtual ~Learnable ()
 

Protected Attributes

const DBLearnable_db
 db which owned data
 
unsigned int _ind
 indice of vector in database (row indice)
 

Additional Inherited Members

- Protected Member Functions inherited from sigraph::Learnable
 Learnable ()
 

Detailed Description

Definition at line 72 of file vectorLearnable.h.

Constructor & Destructor Documentation

◆ DBVectorLearnable()

sigraph::DBVectorLearnable::DBVectorLearnable ( const DBLearnable * db,
unsigned int ind )

◆ ~DBVectorLearnable()

virtual sigraph::DBVectorLearnable::~DBVectorLearnable ( )
inlinevirtual

Definition at line 76 of file vectorLearnable.h.

Member Function Documentation

◆ getINF() [1/2]

char * sigraph::DBVectorLearnable::getINF ( std::string & label) const
inlinevirtual

Definition at line 159 of file vectorLearnable.h.

References _db, and getINF().

◆ getINF() [2/2]

char * sigraph::DBVectorLearnable::getINF ( unsigned int ind) const
inlinevirtual

Implements sigraph::VectorLearnable.

Definition at line 152 of file vectorLearnable.h.

References _db, _ind, and INF().

Referenced by getINF().

◆ getX()

double sigraph::DBVectorLearnable::getX ( unsigned int ind) const
inlinevirtual

Implements sigraph::VectorLearnable.

Definition at line 138 of file vectorLearnable.h.

References _db, _ind, and X().

◆ getY()

double sigraph::DBVectorLearnable::getY ( unsigned int ind) const
inlinevirtual

Implements sigraph::VectorLearnable.

Definition at line 145 of file vectorLearnable.h.

References _db, _ind, and Y().

Referenced by sigraph::SiVectorLearnable::y().

◆ INF() [1/2]

virtual std::string sigraph::DBVectorLearnable::INF ( std::string & label) const
virtual

◆ INF() [2/2]

virtual std::string sigraph::DBVectorLearnable::INF ( unsigned int ind) const
virtual

◆ sizeINF()

int sigraph::DBVectorLearnable::sizeINF ( ) const
inlinevirtual

Implements sigraph::VectorLearnable.

Definition at line 133 of file vectorLearnable.h.

References _db.

◆ sizeX()

int sigraph::DBVectorLearnable::sizeX ( ) const
inlinevirtual

inline / accessors

Implements sigraph::VectorLearnable.

Definition at line 123 of file vectorLearnable.h.

References _db.

◆ sizeY()

int sigraph::DBVectorLearnable::sizeY ( ) const
inlinevirtual

Implements sigraph::VectorLearnable.

Definition at line 128 of file vectorLearnable.h.

References _db.

◆ X()

virtual std::vector< double > sigraph::DBVectorLearnable::X ( ) const
virtual

Converter.

Implements sigraph::VectorLearnable.

Referenced by getX().

◆ Y()

virtual std::vector< double > sigraph::DBVectorLearnable::Y ( ) const
virtual

Implements sigraph::VectorLearnable.

Referenced by getY().

Member Data Documentation

◆ _db

const DBLearnable* sigraph::DBVectorLearnable::_db
protected

db which owned data

Definition at line 101 of file vectorLearnable.h.

Referenced by getINF(), getINF(), getX(), getY(), sizeINF(), sizeX(), and sizeY().

◆ _ind

unsigned int sigraph::DBVectorLearnable::_ind
protected

indice of vector in database (row indice)

Definition at line 103 of file vectorLearnable.h.

Referenced by getINF(), getX(), and getY().


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