YARP  2.3.68+228-20170410.2+git7d0b2e0
Yet Another Robot Platform
yarp::os::Type Class Reference

#include <yarp/os/Type.h>

Public Member Functions

 Type ()
 
 Type (const Type &alt)
 
virtual ~Type ()
 
const Typeoperator= (const Type &alt)
 
ConstString getName () const
 
ConstString getNameOnWire () const
 
bool hasName () const
 
bool isValid () const
 
ConstString toString () const
 
const SearchablereadProperties () const
 
PropertywriteProperties ()
 
TypeaddProperty (const char *key, const Value &val)
 

Static Public Member Functions

static Type byName (const char *name)
 
static Type byName (const char *name, const char *name_on_wire)
 
static Type byNameOnWire (const char *name_on_wire)
 
static Type anon ()
 

Private Attributes

ConstString name
 
ConstString name_on_wire
 
Propertyprop
 

Detailed Description

Definition at line 20 of file Type.h.

Constructor & Destructor Documentation

◆ Type() [1/2]

Type::Type ( )

Definition at line 14 of file Type.cpp.

◆ Type() [2/2]

Type::Type ( const Type alt)

Definition at line 18 of file Type.cpp.

◆ ~Type()

Type::~Type ( )
virtual

Definition at line 28 of file Type.cpp.

Member Function Documentation

◆ addProperty()

Type & Type::addProperty ( const char *  key,
const Value val 
)

Definition at line 61 of file Type.cpp.

◆ anon()

static Type yarp::os::Type::anon ( )
inlinestatic

Definition at line 50 of file Type.h.

◆ byName() [1/2]

static Type yarp::os::Type::byName ( const char *  name)
inlinestatic

Definition at line 30 of file Type.h.

◆ byName() [2/2]

static Type yarp::os::Type::byName ( const char *  name,
const char *  name_on_wire 
)
inlinestatic

Definition at line 36 of file Type.h.

◆ byNameOnWire()

static Type yarp::os::Type::byNameOnWire ( const char *  name_on_wire)
inlinestatic

Definition at line 43 of file Type.h.

◆ getName()

ConstString yarp::os::Type::getName ( ) const
inline

Definition at line 54 of file Type.h.

◆ getNameOnWire()

ConstString yarp::os::Type::getNameOnWire ( ) const
inline

Definition at line 58 of file Type.h.

◆ hasName()

bool yarp::os::Type::hasName ( ) const
inline

Definition at line 62 of file Type.h.

◆ isValid()

bool yarp::os::Type::isValid ( ) const
inline

Definition at line 66 of file Type.h.

◆ operator=()

const Type & Type::operator= ( const Type alt)

Definition at line 35 of file Type.cpp.

◆ readProperties()

const Searchable & Type::readProperties ( ) const

Definition at line 48 of file Type.cpp.

◆ toString()

ConstString yarp::os::Type::toString ( ) const
inline

Definition at line 70 of file Type.h.

◆ writeProperties()

Property & Type::writeProperties ( )

Definition at line 53 of file Type.cpp.

Member Data Documentation

◆ name

ConstString yarp::os::Type::name
private

Definition at line 85 of file Type.h.

◆ name_on_wire

ConstString yarp::os::Type::name_on_wire
private

Definition at line 86 of file Type.h.

◆ prop

Property* yarp::os::Type::prop
private

Definition at line 87 of file Type.h.


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