Public Member Functions | Protected Attributes

CGCArray< T > Class Template Reference

Detailed Description

template<class T>
class shogun::CGCArray< T >

Definition at line 28 of file GCArray.h.

Inheritance diagram for CGCArray< T >:
Inheritance graph

List of all members.

Public Member Functions

 CGCArray (void)
 CGCArray (int32_t sz)
virtual ~CGCArray ()
void set (T element, int32_t index)
get (int32_t index)
virtual const char * get_name () const

Protected Attributes

T * array
int32_t size
 size of array

Constructor & Destructor Documentation

CGCArray ( void   ) 

default constructor

Definition at line 32 of file GCArray.h.

CGCArray ( int32_t  sz  ) 


sz length of array

Definition at line 44 of file GCArray.h.

virtual ~CGCArray (  )  [virtual]


Definition at line 52 of file GCArray.h.

Member Function Documentation

T get ( int32_t  index  ) 

read only access operator

index index to write to
element element

Definition at line 78 of file GCArray.h.

virtual const char* get_name ( void   )  const [virtual]

get the name of the object

name of object

Implements CSGObject.

Definition at line 91 of file GCArray.h.

void set ( element,
int32_t  index 

write access operator

element - element to write
index - index to write to

Definition at line 64 of file GCArray.h.

Member Data Documentation

T* array [protected]


Definition at line 95 of file GCArray.h.

int32_t size [protected]

size of array

Definition at line 97 of file GCArray.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