jubatus_core  0.1.2
Jubatus: Online machine learning framework for distributed environment
Public Types | Public Member Functions | Private Attributes | List of all members
jubatus::core::common::exception::error_info< Tag, V > Class Template Reference

#include <exception_info.hpp>

Inheritance diagram for jubatus::core::common::exception::error_info< Tag, V >:
Inheritance graph
Collaboration diagram for jubatus::core::common::exception::error_info< Tag, V >:
Collaboration graph

Public Types

typedef V value_type
 

Public Member Functions

std::string as_string () const
 
 error_info (value_type v)
 
std::string tag_typeid_name () const
 
value_type value () const
 
 ~error_info () throw ()
 
- Public Member Functions inherited from jubatus::core::common::exception::error_info_base
virtual bool splitter () const
 
virtual ~error_info_base () throw ()
 

Private Attributes

value_type value_
 

Detailed Description

template<class Tag, class V>
class jubatus::core::common::exception::error_info< Tag, V >

Definition at line 46 of file exception_info.hpp.

Member Typedef Documentation

template<class Tag, class V>
typedef V jubatus::core::common::exception::error_info< Tag, V >::value_type

Definition at line 74 of file exception_info.hpp.

Constructor & Destructor Documentation

template<class Tag , class V >
jubatus::core::common::exception::error_info< Tag, V >::error_info ( value_type  v)
inlineexplicit

Definition at line 90 of file exception_info.hpp.

template<class Tag , class V >
jubatus::core::common::exception::error_info< Tag, V >::~error_info ( )
throw (
)
inline

Definition at line 95 of file exception_info.hpp.

95  {
96 }

Member Function Documentation

template<class Tag , class V >
std::string jubatus::core::common::exception::error_info< Tag, V >::as_string ( ) const
inlinevirtual

Implements jubatus::core::common::exception::error_info_base.

Definition at line 104 of file exception_info.hpp.

References jubatus::core::common::exception::to_string().

104  {
105  return to_string(*this);
106 }
std::string to_string(const error_errno &info)
Definition: exception.hpp:42

Here is the call graph for this function:

template<class Tag , class V >
std::string jubatus::core::common::exception::error_info< Tag, V >::tag_typeid_name ( ) const
inlinevirtual

Implements jubatus::core::common::exception::error_info_base.

Definition at line 99 of file exception_info.hpp.

99  {
100  return jubatus::util::lang::demangle(typeid(Tag*).name());
101 }
template<class Tag, class V>
value_type jubatus::core::common::exception::error_info< Tag, V >::value ( ) const
inline

Definition at line 81 of file exception_info.hpp.

References jubatus::core::common::exception::error_info< Tag, V >::value_.

Referenced by jubatus::core::common::exception::to_string().

81  {
82  return value_;
83  }

Here is the caller graph for this function:

Member Data Documentation

template<class Tag, class V>
value_type jubatus::core::common::exception::error_info< Tag, V >::value_
private

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