SNAP Library 3.0, User Reference  2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TTableRow Class Reference

Table Row (Record) More...

#include <table.h>

Public Member Functions

 TTableRow ()
 Default constructor. More...
 
void AddInt (const TInt &Val)
 Adds int attribute to this row. More...
 
void AddFlt (const TFlt &Val)
 Adds float attribute to this row. More...
 
void AddStr (const TStr &Val)
 Adds string attribute to this row. More...
 
TIntV GetIntVals () const
 Gets int attributes of this row. More...
 
TFltV GetFltVals () const
 Gets float attributes of this row. More...
 
TStrV GetStrVals () const
 Gets string attributes of this row. More...
 

Protected Attributes

TIntV IntVals
 Values of the int columns for this row. More...
 
TFltV FltVals
 Values of the flt columns for this row. More...
 
TStrV StrVals
 Values of the str columns for this row. More...
 

Detailed Description

Table Row (Record)

Definition at line 243 of file table.h.

Constructor & Destructor Documentation

TTableRow::TTableRow ( )
inline

Default constructor.

Definition at line 250 of file table.h.

250 {}

Member Function Documentation

void TTableRow::AddFlt ( const TFlt Val)
inline

Adds float attribute to this row.

Definition at line 254 of file table.h.

254 { FltVals.Add(Val); }
TFltV FltVals
Values of the flt columns for this row.
Definition: table.h:246
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:574
void TTableRow::AddInt ( const TInt Val)
inline

Adds int attribute to this row.

Definition at line 252 of file table.h.

252 { IntVals.Add(Val); }
TIntV IntVals
Values of the int columns for this row.
Definition: table.h:245
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:574
void TTableRow::AddStr ( const TStr Val)
inline

Adds string attribute to this row.

Definition at line 256 of file table.h.

256 { StrVals.Add(Val); }
TStrV StrVals
Values of the str columns for this row.
Definition: table.h:247
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:574
TFltV TTableRow::GetFltVals ( ) const
inline

Gets float attributes of this row.

Definition at line 260 of file table.h.

260 { return FltVals; }
TFltV FltVals
Values of the flt columns for this row.
Definition: table.h:246
TIntV TTableRow::GetIntVals ( ) const
inline

Gets int attributes of this row.

Definition at line 258 of file table.h.

258 { return IntVals; }
TIntV IntVals
Values of the int columns for this row.
Definition: table.h:245
TStrV TTableRow::GetStrVals ( ) const
inline

Gets string attributes of this row.

Definition at line 262 of file table.h.

262 { return StrVals; }
TStrV StrVals
Values of the str columns for this row.
Definition: table.h:247

Member Data Documentation

TFltV TTableRow::FltVals
protected

Values of the flt columns for this row.

Definition at line 246 of file table.h.

TIntV TTableRow::IntVals
protected

Values of the int columns for this row.

Definition at line 245 of file table.h.

TStrV TTableRow::StrVals
protected

Values of the str columns for this row.

Definition at line 247 of file table.h.


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