Public Member Functions | Public Attributes

SGString< T > Class Template Reference

Detailed Description

template<class T>
class shogun::SGString< T >

shogun string

Definition at line 398 of file DataType.h.

List of all members.

Public Member Functions

 SGString ()
 SGString (T *s, index_t l, bool free_s=false)
 SGString (SGVector< T > v)
 SGString (index_t len, bool free_s=false)
 SGString (const SGString &orig)
void free_string ()
void destroy_string ()

Public Attributes

T * string
index_t slen
bool do_free

Constructor & Destructor Documentation

SGString (  ) 

default constructor

Definition at line 402 of file DataType.h.

SGString ( T *  s,
index_t  l,
bool  free_s = false 

constructor for setting params

Definition at line 405 of file DataType.h.

SGString ( SGVector< T >  v  ) 

constructor for setting params from a SGVector

Definition at line 409 of file DataType.h.

SGString ( index_t  len,
bool  free_s = false 

constructor to create new string in memory

Definition at line 413 of file DataType.h.

SGString ( const SGString< T > &  orig  ) 

copy constructor

Definition at line 420 of file DataType.h.

Member Function Documentation

void destroy_string (  ) 

destroy string

Definition at line 435 of file DataType.h.

void free_string (  ) 

free string

Definition at line 424 of file DataType.h.

Member Data Documentation

bool do_free

whether string needs to be freed

Definition at line 447 of file DataType.h.

length of string

Definition at line 445 of file DataType.h.

T* string


Definition at line 443 of file DataType.h.

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

SHOGUN Machine Learning Toolbox - Documentation