SNAP Library 4.1, Developer Reference  2018-07-26 16:30:42
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>

Collaboration diagram for TTableRow:

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 234 of file table.h.

Constructor & Destructor Documentation

TTableRow::TTableRow ( )
inline

Default constructor.

Definition at line 241 of file table.h.

241 {}

Member Function Documentation

void TTableRow::AddFlt ( const TFlt Val)
inline

Adds float attribute to this row.

Definition at line 245 of file table.h.

References TVec< TVal, TSizeTy >::Add(), and FltVals.

245 { FltVals.Add(Val); }
TFltV FltVals
Values of the flt columns for this row.
Definition: table.h:237
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:602

Here is the call graph for this function:

void TTableRow::AddInt ( const TInt Val)
inline

Adds int attribute to this row.

Definition at line 243 of file table.h.

References TVec< TVal, TSizeTy >::Add(), and IntVals.

243 { IntVals.Add(Val); }
TIntV IntVals
Values of the int columns for this row.
Definition: table.h:236
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
Definition: ds.h:602

Here is the call graph for this function:

void TTableRow::AddStr ( const TStr Val)
inline

Adds string attribute to this row.

Definition at line 247 of file table.h.

References TVec< TVal, TSizeTy >::Add(), and StrVals.

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

Here is the call graph for this function:

TFltV TTableRow::GetFltVals ( ) const
inline

Gets float attributes of this row.

Definition at line 251 of file table.h.

References FltVals.

Referenced by TTable::AddRow().

251 { return FltVals; }
TFltV FltVals
Values of the flt columns for this row.
Definition: table.h:237

Here is the caller graph for this function:

TIntV TTableRow::GetIntVals ( ) const
inline

Gets int attributes of this row.

Definition at line 249 of file table.h.

References IntVals.

Referenced by TTable::AddRow().

249 { return IntVals; }
TIntV IntVals
Values of the int columns for this row.
Definition: table.h:236

Here is the caller graph for this function:

TStrV TTableRow::GetStrVals ( ) const
inline

Gets string attributes of this row.

Definition at line 253 of file table.h.

References StrVals.

Referenced by TTable::AddRow().

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

Here is the caller graph for this function:

Member Data Documentation

TFltV TTableRow::FltVals
protected

Values of the flt columns for this row.

Definition at line 237 of file table.h.

Referenced by AddFlt(), and GetFltVals().

TIntV TTableRow::IntVals
protected

Values of the int columns for this row.

Definition at line 236 of file table.h.

Referenced by AddInt(), and GetIntVals().

TStrV TTableRow::StrVals
protected

Values of the str columns for this row.

Definition at line 238 of file table.h.

Referenced by AddStr(), and GetStrVals().


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