SHOGUN  6.1.3
List of all members | Public Member Functions | Static Public Member Functions
Some< T > Class Template Reference

Detailed Description

template<typename T>
class shogun::Some< T >

Definition at line 16 of file some.h.

Public Member Functions

 Some (const Some< T > &other)
 
template<typename R >
 Some (const Some< R > &other)
 
 Some (T *other)
 
Someoperator= (T *other)
 
 ~Some ()
 
 operator T* () const
 
T * operator-> () const
 
T * get () const
 

Static Public Member Functions

static Some< T > from_raw (T *raw)
 

Constructor & Destructor Documentation

◆ Some() [1/3]

Some ( const Some< T > &  other)

Definition at line 63 of file some.h.

◆ Some() [2/3]

Some ( const Some< R > &  other)

Definition at line 74 of file some.h.

◆ Some() [3/3]

Some ( T *  other)
explicit

Definition at line 68 of file some.h.

◆ ~Some()

~Some ( )

Definition at line 92 of file some.h.

Member Function Documentation

◆ from_raw()

Some< T > from_raw ( T *  raw)
static

Definition at line 127 of file some.h.

◆ get()

T * get ( ) const

Get the raw pointer

Returns
raw pointer (without SG_REF)

Definition at line 107 of file some.h.

◆ operator T*()

operator T* ( ) const

Casts the underlying object back to raw pointer

Be careful to SG_REF obtained pointer if you start to own it.

Returns
raw pointer (without SG_REF)

Definition at line 97 of file some.h.

◆ operator->()

T * operator-> ( ) const

Call member function or access member of T

Returns
raw pointer (without SG_REF)

Definition at line 102 of file some.h.

◆ operator=()

Some< T > & operator= ( T *  other)

Definition at line 80 of file some.h.


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

SHOGUN Machine Learning Toolbox - Documentation