stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
stencet::ViewModel_< T > Struct Template Reference
Inheritance diagram for stencet::ViewModel_< T >:

Public Member Functions

 ViewModel_ (const T &_t)
template<typename S >
ViewModeloperator() (const Field_< T, S > &field)
virtual bool hasValue (const std::string &name)
virtual ViewModelat (const std::string &name)
- Public Member Functions inherited from stencet::ViewModel
virtual bool isConvertible (Type t) const
virtual Type getType () const
virtual void asString (std::string &str) const
virtual double asDouble () const
virtual bool asBool () const
virtual int asInt () const
virtual size_t size () const
virtual ViewModelat (size_t)

Public Attributes

const T & t
std::map< std::string,
ViewModel * > 
- 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 files: