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

Public Member Functions

Variantlocals ()
void push_scope (ViewModel *)
void pop_scope ()
virtual Type getType () const
virtual size_t size () const
virtual bool hasValue (const std::string &name)
virtual ViewModelat (size_t)
virtual ViewModelat (const std::string &name)
- Public Member Functions inherited from stencet::ViewModel
virtual bool isConvertible (Type t) const
virtual void asString (std::string &str) const
virtual double asDouble () const
virtual bool asBool () const
virtual int asInt () const

Public Attributes

std::map< std::string, const
Template * > 
- Public Attributes inherited from stencet::ViewModel
bool managed = true

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

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