jubatus_core  0.1.2
Jubatus: Online machine learning framework for distributed environment
Public Member Functions | Public Attributes | Friends | List of all members
jubatus::core::storage::owner Struct Reference

#include <owner.hpp>

Collaboration diagram for jubatus::core::storage::owner:
Collaboration graph

Public Member Functions

 MSGPACK_DEFINE (name)
 
bool operator< (const owner &o) const
 
bool operator== (const owner &rhs) const
 
 owner ()
 
 owner (const std::string &n)
 

Public Attributes

std::string name
 

Friends

std::ostream & operator<< (std::ostream &os, const owner &o)
 

Detailed Description

Definition at line 28 of file owner.hpp.

Constructor & Destructor Documentation

jubatus::core::storage::owner::owner ( )
inline

Definition at line 31 of file owner.hpp.

31  : name("(uninitialized)") {
32  }
jubatus::core::storage::owner::owner ( const std::string &  n)
inlineexplicit

Definition at line 33 of file owner.hpp.

33  : name(n) {
34  }

Member Function Documentation

jubatus::core::storage::owner::MSGPACK_DEFINE ( name  )
bool jubatus::core::storage::owner::operator< ( const owner o) const
inline

Definition at line 39 of file owner.hpp.

References name.

39  {
40  return name < o.name;
41  }
bool jubatus::core::storage::owner::operator== ( const owner rhs) const
inline

Definition at line 36 of file owner.hpp.

References name.

36  {
37  return name == rhs.name;
38  }

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const owner o 
)
friend

Definition at line 42 of file owner.hpp.

42  {
43  os << "owner[" << o.name << "]";
44  return os;
45  }

Member Data Documentation

std::string jubatus::core::storage::owner::name

Definition at line 29 of file owner.hpp.

Referenced by operator<(), and operator==().


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