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