SHOGUN  5.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
List of all members | Public Member Functions
Tag< T > Class Template Reference

Detailed Description

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

Acts as an identifier for a shogun object. It contains type information and name of the object. Generally used to CSGObject::set() and CSGObject::get() parameters of a class.

Definition at line 47 of file tag.h.

Inheritance diagram for Tag< T >:
[legend]

Public Member Functions

 Tag (const std::string &_name)
 
 Tag (const Tag &other)
 
std::string name () const
 
std::size_t hash () const
 

Constructor & Destructor Documentation

Tag ( const std::string &  _name)
explicit

Constructor

Parameters
_namename of tag

Definition at line 54 of file tag.h.

Tag ( const Tag< T > &  other)

Copy constructor

Parameters
otheranother tag object to copy

Definition at line 62 of file tag.h.

Member Function Documentation

std::size_t hash ( ) const
inherited
Returns
hash of Tag

Definition at line 85 of file basetag.h.

std::string name ( ) const
inherited
Returns
name of Tag

Definition at line 79 of file basetag.h.


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

SHOGUN Machine Learning Toolbox - Documentation