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

Public Member Functions

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

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::ViewBase_< bool >
const bool & t
 

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