stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
stencet::Variant Struct Reference
Inheritance diagram for stencet::Variant:

Public Member Functions

virtual Variantat (const std::string &name)
virtual Variantat (size_t)
Variantoperator[] (const std::string &name)
Variantoperator[] (size_t)
template<typename T >
Variantappend (const T &)
virtual bool hasValue (const std::string &name)
virtual Type getType () const
virtual int asInt () const
virtual void asString (std::string &str) const
virtual size_t size () const override
template<typename T >
Variantoperator= (const std::initializer_list< T > &)
template<typename T >
Variantoperator= (const T &)
- Public Member Functions inherited from stencet::ViewModel
virtual bool isConvertible (Type t) const
virtual double asDouble () const
virtual bool asBool () const

Static Public Member Functions

template<typename T >
static VariantCreate (const T &t)

Additional Inherited Members

- Public Types inherited from stencet::ViewModel
enum  Type {
  Null = -1, Object = 0, List = 1, String = 2,
  Double = 3, Int = 4, Bool = 5
- Public Attributes inherited from stencet::ViewModel
bool managed = true

The documentation for this struct was generated from the following file: