|
Urbi SDK Remote for C++
2.7.3
|
#include <boost/algorithm/string/erase.hpp>#include <boost/algorithm/string/predicate.hpp>#include <libport/cassert>#include <libport/compiler.hh>#include <libport/cstdio>#include <libport/cstdlib>#include <libport/cstring>#include <libport/debug.hh>#include <libport/escape.hh>#include <libport/foreach.hh>#include <libport/format.hh>#include <libport/iostream>#include <libport/lexical-cast.hh>#include <libport/xalloc.hh>#include <sstream>#include <iomanip>#include <urbi/ubinary.hh>#include <urbi/uvalue.hh>
Go to the source code of this file.
Namespaces | |
| namespace | urbi |
Global definition of the starterlist. | |
Defines | |
| #define | SKIP_SPACES() |
| #define | EXPECT(Char) |
| #define | CHECK_NEOF() |
| #define | UVALUE_OPERATORS(Args, DataType, Field, Value) |
| #define | UVALUE_DOUBLE(Type) UVALUE_OPERATORS(Type v, DATA_DOUBLE, val, v) |
| #define | UVALUE_STRING(Type, Value) UVALUE_OPERATORS(Type v, DATA_STRING, stringValue, new std::string(Value)) |
| #define | UVALUE_BINARY(Type) UVALUE_OPERATORS(Type v, DATA_BINARY, binary, new UBinary(v, copy)) |
Functions | |
| GD_CATEGORY (Urbi.UValue) | |
| int & | urbi::kernelMajor (std::ostream &o) |
| If a kernel version was associated to this stream, its value. | |
| urbi::UVALUE_STRING (const void *,(libport::format("%%ptr_%x", v))) UVALUE_OPERATORS(const UDictionary &d | |
| new | urbi::UDictionary (d)) |
| std::ostream & | urbi::operator<< (std::ostream &o, const UList &t) |
| std::ostream & | urbi::operator<< (std::ostream &s, const urbi::UDictionary &d) |
| std::string | urbi::syncline_push (const std::string &srcdir, std::string file, unsigned line) |
| Issue a syncline. | |
Variables | |
| urbi::DATA_DICTIONARY = 1 | |
| urbi::dictionary | |
Definition in file uvalue-common.cc.
| #define CHECK_NEOF | ( | ) |
do { \ if (!message[p]) \ { \ GD_ERROR("unexpected end of file"); \ return -p; \ } \ } while (0)
Definition at line 139 of file uvalue-common.cc.
Referenced by urbi::UValue::parse().
| #define EXPECT | ( | Char | ) |
do { \ if (message[pos] != Char) \ { \ GD_FERROR("unexpected `%s', expected `%s'", \ message[pos], Char); \ return -pos; \ } \ } while(0)
Definition at line 128 of file uvalue-common.cc.
Referenced by urbi::UValue::parse().
| #define SKIP_SPACES | ( | ) |
while (message[pos] == ' ') \ ++pos
Definition at line 113 of file uvalue-common.cc.
Referenced by urbi::UValue::parse().
| #define UVALUE_BINARY | ( | Type | ) | UVALUE_OPERATORS(Type v, DATA_BINARY, binary, new UBinary(v, copy)) |
| #define UVALUE_DOUBLE | ( | Type | ) | UVALUE_OPERATORS(Type v, DATA_DOUBLE, val, v) |
Definition at line 366 of file uvalue-common.cc.
| #define UVALUE_OPERATORS | ( | Args, | |
| DataType, | |||
| Field, | |||
| Value | |||
| ) |
UValue::UValue(Args, bool copy) \ : type(DataType) \ , Field(Value) \ { \ LIBPORT_USE(copy); \ } \ \ UValue& UValue::operator=(Args) \ { \ clear(); \ type = DataType; \ Field = Value; \ return *this; \ }
Definition at line 350 of file uvalue-common.cc.
| #define UVALUE_STRING | ( | Type, | |
| Value | |||
| ) | UVALUE_OPERATORS(Type v, DATA_STRING, stringValue, new std::string(Value)) |
Definition at line 384 of file uvalue-common.cc.
| GD_CATEGORY | ( | Urbi. | UValue | ) |