Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
WsTemplate Class Reference

#include <WsTemplate.h>

Inheritance diagram for WsTemplate:
Inheritance graph
Collaboration diagram for WsTemplate:
Collaboration graph

Public Member Functions

 WsTemplate (const std::string &templateFile, const std::string &initialPath=std::string(), Wt::WContainerWidget *parent=0)
 
 ~WsTemplate ()
 
std::string matchTemplate (const std::string &templateFile)
 
void resolveString (const std::string &varName, const std::vector< Wt::WString > &args, std::ostream &result)
 
Wt::WWidget * resolveWidget (const std::string &varName)
 

Private Attributes

std::string m_sInitialPath
 

Detailed Description

Definition at line 18 of file WsTemplate.h.

Constructor & Destructor Documentation

WsTemplate::WsTemplate ( const std::string &  templateFile,
const std::string &  initialPath = std::string(),
Wt::WContainerWidget *  parent = 0 
)

Definition at line 32 of file WsTemplate.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

WsTemplate::~WsTemplate ( )

Definition at line 48 of file WsTemplate.cpp.

Member Function Documentation

std::string WsTemplate::matchTemplate ( const std::string &  templateFile)

Definition at line 51 of file WsTemplate.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsTemplate::resolveString ( const std::string &  varName,
const std::vector< Wt::WString > &  args,
std::ostream &  result 
)

Definition at line 117 of file WsTemplate.cpp.

Here is the call graph for this function:

WWidget * WsTemplate::resolveWidget ( const std::string &  varName)

Definition at line 69 of file WsTemplate.cpp.

Here is the call graph for this function:

Member Data Documentation

std::string WsTemplate::m_sInitialPath
private

Definition at line 27 of file WsTemplate.h.


The documentation for this class was generated from the following files: