SNAP Library 6.0, User Reference  2020-12-09 16:24:20
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
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 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.

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
void TTableRow::AddInt ( const TInt Val)
inline

Adds int attribute to this row.

Definition at line 243 of file table.h.

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
void TTableRow::AddStr ( const TStr Val)
inline

Adds string attribute to this row.

Definition at line 247 of file table.h.

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
TFltV TTableRow::GetFltVals ( ) const
inline

Gets float attributes of this row.

Definition at line 251 of file table.h.

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

Gets int attributes of this row.

Definition at line 249 of file table.h.

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

Gets string attributes of this row.

Definition at line 253 of file table.h.

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

Member Data Documentation

TFltV TTableRow::FltVals
protected

Values of the flt columns for this row.

Definition at line 237 of file table.h.

TIntV TTableRow::IntVals
protected

Values of the int columns for this row.

Definition at line 236 of file table.h.

TStrV TTableRow::StrVals
protected

Values of the str columns for this row.

Definition at line 238 of file table.h.


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