Namespaces | Defines | Typedefs | Functions | Variables

element.cpp File Reference

#include "element.h"
#include "dialog.h"
#include "common/wave_ex.h"
#include "datahash/datahash_util.h"
#include "perf/perf.h"
Include dependency graph for element.cpp:

Go to the source code of this file.

Namespaces

namespace  dialog

Defines

#define DECLARE_FN(type)

Typedefs

typedef smart_ptr< Element >(* dialog::construct_fn_t )(Manager *mgr, const Datahash *hash)

Functions

smart_ptr< Element > dialog::createButtonElement (Manager *mgr, const Datahash *hash)
smart_ptr< Element > dialog::createContainerElement (Manager *mgr, const Datahash *hash)
smart_ptr< Element > dialog::createLabelElement (Manager *mgr, const Datahash *hash)
smart_ptr< Element > dialog::createTextboxElement (Manager *mgr, const Datahash *hash)
static construct_fn_t dialog::getFn (const char *type_name)

smart_ptr< Element > dialog::constructElementTree (Manager *mgr, const Datahash *hash)
smart_ptr< Factory > dialog::getDefaultFactory (void)
 factory for built-in types
void dialog::registerDefaultFactories (Manager *mgr)
 helper method to register default types with a manager

Variables

static const type_entry_t dialog::entries []

Define Documentation

#define DECLARE_FN (   type  ) 
Value:
smart_ptr<Element> create ## type ## Element (                  \
                IN Manager * mgr,                                       \
                IN const Datahash * hash );

Definition at line 110 of file element.cpp.