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 451 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 455 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 459 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 464 of file DataType.h.

SGStringList ( const SGStringList< T > &  orig  ) 

copy constructor

Definition at line 472 of file DataType.h.


Member Function Documentation

void destroy_list (  ) 

destroy list

Definition at line 490 of file DataType.h.

void free_list (  ) 

free list

Definition at line 478 of file DataType.h.


Member Data Documentation

bool do_free

whether vector needs to be freed

Definition at line 507 of file DataType.h.

length of longest string

Definition at line 501 of file DataType.h.

number of strings

Definition at line 498 of file DataType.h.

this contains the array of features

Definition at line 504 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