Public Member Functions | Public Attributes

SGStringList< T > Struct Template Reference


Detailed Description

template<class T>
struct shogun::SGStringList< T >

template class SGStringList

Definition at line 266 of file DataType.h.

List of all members.

Public Member Functions

 SGStringList ()
 SGStringList (SGString< T > *s, index_t num_s, index_t max_length, bool free_strings=false)
 SGStringList (index_t num_s, index_t max_length, bool free_strings=false)
 SGStringList (const SGStringList &orig)
void free_list ()
void destroy_list ()

Public Attributes

index_t num_strings
index_t max_string_length
SGString< T > * strings
bool do_free

Constructor & Destructor Documentation

SGStringList (  ) 

default constructor

Definition at line 270 of file DataType.h.

SGStringList ( SGString< T > *  s,
index_t  num_s,
index_t  max_length,
bool  free_strings = false 
)

constructor for setting params

Definition at line 274 of file DataType.h.

SGStringList ( index_t  num_s,
index_t  max_length,
bool  free_strings = false 
)

constructor to create new string list in memory

Definition at line 279 of file DataType.h.

SGStringList ( const SGStringList< T > &  orig  ) 

copy constructor

Definition at line 287 of file DataType.h.


Member Function Documentation

void destroy_list (  ) 

destroy list

Definition at line 305 of file DataType.h.

void free_list (  ) 

free list

Definition at line 293 of file DataType.h.


Member Data Documentation

bool do_free

whether vector needs to be freed

Definition at line 322 of file DataType.h.

length of longest string

Definition at line 316 of file DataType.h.

number of strings

Definition at line 313 of file DataType.h.

this contains the array of features

Definition at line 319 of file DataType.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation