YARP
Yet Another Robot Platform
yarp::os::Type Class Reference

#include <yarp/os/Type.h>

Detailed Description

Definition at line 22 of file Type.h.

Public Member Functions

 Type ()
 
 Type (const Type &alt)
 
virtual ~Type ()
 
const Typeoperator= (const Type &alt)
 
std::string getName () const
 
std::string getNameOnWire () const
 
bool hasName () const
 
bool isValid () const
 
std::string 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 Member Functions

 YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG (std::string) name
 
 YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG (std::string) name_on_wire
 

Private Attributes

Propertyprop
 

Constructor & Destructor Documentation

◆ Type() [1/2]

Type::Type ( )

Definition at line 15 of file Type.cpp.

◆ Type() [2/2]

Type::Type ( const Type alt)

Definition at line 19 of file Type.cpp.

◆ ~Type()

Type::~Type ( )
virtual

Definition at line 29 of file Type.cpp.

Member Function Documentation

◆ addProperty()

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

Definition at line 62 of file Type.cpp.

◆ anon()

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

Definition at line 52 of file Type.h.

◆ byName() [1/2]

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

Definition at line 32 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 38 of file Type.h.

◆ byNameOnWire()

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

Definition at line 45 of file Type.h.

◆ getName()

std::string yarp::os::Type::getName ( ) const
inline

Definition at line 56 of file Type.h.

◆ getNameOnWire()

std::string yarp::os::Type::getNameOnWire ( ) const
inline

Definition at line 60 of file Type.h.

◆ hasName()

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

Definition at line 64 of file Type.h.

◆ isValid()

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

Definition at line 68 of file Type.h.

◆ operator=()

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

Definition at line 36 of file Type.cpp.

◆ readProperties()

const Searchable & Type::readProperties ( ) const

Definition at line 49 of file Type.cpp.

◆ toString()

std::string yarp::os::Type::toString ( ) const
inline

Definition at line 72 of file Type.h.

◆ writeProperties()

Property & Type::writeProperties ( )

Definition at line 54 of file Type.cpp.

◆ YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG() [1/2]

yarp::os::Type::YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG ( std::string  )
private

◆ YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG() [2/2]

yarp::os::Type::YARP_SUPPRESS_DLL_INTERFACE_WARNING_ARG ( std::string  )
private

Member Data Documentation

◆ prop

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

Definition at line 89 of file Type.h.


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