class
#include <eckit/value/StringContent.h>
StringContent
Base classes
- class Content
Public functions
- auto addNumber(const NumberContent&) const -> Content* virtual
- auto addBool(const BoolContent&) const -> Content* virtual
- auto addDouble(const DoubleContent&) 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 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 addString(const StringContent&) const -> Content* override
-
void print(std::
ostream&) const override - void json(JSON&) const override
-
auto typeName() const -> std::
string override - auto isString() const -> bool override
- auto clone() const -> Content* override
-
void dump(std::
ostream& out, size_t depth, bool indent = true) const override - void hash(Hash&) const override
- void encode(Stream&) const override
- auto reanimator() const -> const ReanimatorBase& override
Function documentation
Content* eckit:: StringContent:: addNumber(const NumberContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addBool(const BoolContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addDouble(const DoubleContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addNil(const NilContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addList(const ListContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addMap(const MapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addDate(const DateContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addTime(const TimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addDateTime(const DateTimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: addOrderedMap(const OrderedMapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subNumber(const NumberContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subDouble(const DoubleContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subBool(const BoolContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subString(const StringContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subNil(const NilContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subList(const ListContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subMap(const MapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subDate(const DateContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subTime(const TimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subDateTime(const DateTimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: subOrderedMap(const OrderedMapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulNumber(const NumberContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulDouble(const DoubleContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulBool(const BoolContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulString(const StringContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulNil(const NilContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulList(const ListContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulMap(const MapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulDate(const DateContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulTime(const TimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulDateTime(const DateTimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: mulOrderedMap(const OrderedMapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divNumber(const NumberContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divDouble(const DoubleContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divBool(const BoolContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divString(const StringContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divNil(const NilContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divList(const ListContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divMap(const MapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divDate(const DateContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divTime(const TimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divDateTime(const DateTimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: divOrderedMap(const OrderedMapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modNumber(const NumberContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modDouble(const DoubleContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modBool(const BoolContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modString(const StringContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modNil(const NilContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modList(const ListContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modMap(const MapContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modDate(const DateContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modTime(const TimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modDateTime(const DateTimeContent&) const virtual
#include <eckit/value/Content.h>
Content* eckit:: StringContent:: modOrderedMap(const OrderedMapContent&) const virtual
#include <eckit/value/Content.h>
void eckit:: StringContent:: attach() const
#include <eckit/memory/Counted.h>
void eckit:: StringContent:: detach() const
#include <eckit/memory/Counted.h>
size_t eckit:: StringContent:: count() const
#include <eckit/memory/Counted.h>
void eckit:: StringContent:: lock() const
#include <eckit/memory/Counted.h>
void eckit:: StringContent:: unlock() const
#include <eckit/memory/Counted.h>
std:: string eckit:: StringContent:: className() const virtual
#include <eckit/serialisation/Streamable.h>