class
#include <eckit/value/Content.h>
Content
Base classes
- class Counted
- class Streamable
Derived classes
- class BoolContent
- class DateContent
- class DateTimeContent
- class DoubleContent
- class ListContent
- class MapContent
- class NilContent
- class NumberContent
- class OrderedMapContent
- class StringContent
- class TimeContent
Public static functions
Public functions
- auto compareBool(const BoolContent&) const -> int virtual
- auto compareNumber(const NumberContent&) const -> int virtual
- auto compareDouble(const DoubleContent&) const -> int virtual
- auto compareString(const StringContent&) const -> int virtual
- auto compareNil(const NilContent&) const -> int virtual
- auto compareList(const ListContent&) const -> int virtual
- auto compareMap(const MapContent&) const -> int virtual
- auto compareDate(const DateContent&) const -> int virtual
- auto compareTime(const TimeContent&) const -> int virtual
- auto compareDateTime(const DateTimeContent&) const -> int virtual
- auto compareOrderedMap(const OrderedMapContent&) const -> int virtual
- auto addNumber(const NumberContent&) const -> Content* virtual
- auto addBool(const BoolContent&) const -> Content* virtual
- auto addDouble(const DoubleContent&) const -> Content* virtual
- auto addString(const StringContent&) const -> Content* virtual
- auto addNil(const NilContent&) const -> Content* virtual
- auto addList(const ListContent&) const -> Content* virtual
- auto addMap(const MapContent&) const -> Content* virtual
- auto addDate(const DateContent&) const -> Content* virtual
- auto addTime(const TimeContent&) const -> Content* virtual
- auto addDateTime(const DateTimeContent&) const -> Content* virtual
- auto addOrderedMap(const OrderedMapContent&) const -> Content* virtual
- auto subNumber(const NumberContent&) const -> Content* virtual
- auto subDouble(const DoubleContent&) const -> Content* virtual
- auto subBool(const BoolContent&) const -> Content* virtual
- auto subString(const StringContent&) const -> Content* virtual
- auto subNil(const NilContent&) const -> Content* virtual
- auto subList(const ListContent&) const -> Content* virtual
- auto subMap(const MapContent&) const -> Content* virtual
- auto subDate(const DateContent&) const -> Content* virtual
- auto subTime(const TimeContent&) const -> Content* virtual
- auto subDateTime(const DateTimeContent&) const -> Content* virtual
- auto subOrderedMap(const OrderedMapContent&) const -> Content* virtual
- auto mulNumber(const NumberContent&) const -> Content* virtual
- auto mulDouble(const DoubleContent&) const -> Content* virtual
- auto mulBool(const BoolContent&) const -> Content* virtual
- auto mulString(const StringContent&) const -> Content* virtual
- auto mulNil(const NilContent&) const -> Content* virtual
- auto mulList(const ListContent&) const -> Content* virtual
- auto mulMap(const MapContent&) const -> Content* virtual
- auto mulDate(const DateContent&) const -> Content* virtual
- auto mulTime(const TimeContent&) const -> Content* virtual
- auto mulDateTime(const DateTimeContent&) const -> Content* virtual
- auto mulOrderedMap(const OrderedMapContent&) const -> Content* virtual
- auto divNumber(const NumberContent&) const -> Content* virtual
- auto divDouble(const DoubleContent&) const -> Content* virtual
- auto divBool(const BoolContent&) const -> Content* virtual
- auto divString(const StringContent&) const -> Content* virtual
- auto divNil(const NilContent&) const -> Content* virtual
- auto divList(const ListContent&) const -> Content* virtual
- auto divMap(const MapContent&) const -> Content* virtual
- auto divDate(const DateContent&) const -> Content* virtual
- auto divTime(const TimeContent&) const -> Content* virtual
- auto divDateTime(const DateTimeContent&) const -> Content* virtual
- auto divOrderedMap(const OrderedMapContent&) const -> Content* virtual
- auto modNumber(const NumberContent&) const -> Content* virtual
- auto modDouble(const DoubleContent&) const -> Content* virtual
- auto modBool(const BoolContent&) const -> Content* virtual
- auto modString(const StringContent&) const -> Content* virtual
- auto modNil(const NilContent&) const -> Content* virtual
- auto modList(const ListContent&) const -> Content* virtual
- auto modMap(const MapContent&) const -> Content* virtual
- auto modDate(const DateContent&) const -> Content* virtual
- auto modTime(const TimeContent&) const -> Content* virtual
- auto modDateTime(const DateTimeContent&) const -> Content* virtual
- auto modOrderedMap(const OrderedMapContent&) const -> Content* virtual
- void hash(Hash&) const pure virtual
- void attach() const
- void detach() const
- auto count() const -> size_t
- void lock() const
- void unlock() const
-
auto className() const -> std::
string virtual
Private functions
- void value(bool&) const virtual
- void value(long long&) const virtual
- void value(double&) const virtual
-
void value(std::
string&) const virtual - void value(Date&) const virtual
- void value(Time&) const virtual
- void value(DateTime&) const virtual
- void value(ValueList&) const virtual
- void value(ValueMap&) const virtual
-
void print(std::
ostream&) const pure virtual -
void dump(std::
ostream&, size_t, bool indent = true) const pure virtual -
auto typeName() const -> std::
string pure virtual - void json(JSON&) const pure virtual
- auto clone() const -> Content* pure virtual
- auto isNil() const -> bool virtual
- auto isNumber() const -> bool virtual
- auto isBool() const -> bool virtual
- auto isDouble() const -> bool virtual
- auto isString() const -> bool virtual
- auto isList() const -> bool virtual
- auto isMap() const -> bool virtual
- auto isDate() const -> bool virtual
- auto isTime() const -> bool virtual
- auto isDateTime() const -> bool virtual
- auto isOrderedMap() const -> bool virtual
- auto contains(const Value&) const -> bool virtual
- auto element(const Value&) -> Value& virtual
- auto remove(const Value&) -> Value virtual
- void append(const Value&) virtual
- auto keys() const -> Value virtual
- auto negate() const -> Value virtual
- auto size() const -> size_t virtual
- void encode(Stream&) const override
- auto reanimator() const -> const ReanimatorBase& override
- auto compare(const Content&) const -> int pure virtual
- auto add(const Content&) const -> Content* pure virtual
- auto sub(const Content&) const -> Content* pure virtual
- auto mul(const Content&) const -> Content* pure virtual
- auto div(const Content&) const -> Content* pure virtual
- auto mod(const Content&) const -> Content* pure virtual
Friends
-
auto operator<<(std::
ostream& s, const Content& content) -> std:: ostream& - auto operator<<(JSON& s, const Content& content) -> JSON&
Function documentation
static const ClassSpec& eckit:: Content:: classSpec()
#include <eckit/serialisation/Streamable.h>
void eckit:: Content:: attach() const
#include <eckit/memory/Counted.h>
void eckit:: Content:: detach() const
#include <eckit/memory/Counted.h>
size_t eckit:: Content:: count() const
#include <eckit/memory/Counted.h>
void eckit:: Content:: lock() const
#include <eckit/memory/Counted.h>
void eckit:: Content:: unlock() const
#include <eckit/memory/Counted.h>
std:: string eckit:: Content:: className() const virtual
#include <eckit/serialisation/Streamable.h>