te::qt::plugins::terramobile::AbstractFormItem Class Referenceabstract

This file defines the abstract class for a form item. More...

#include <AbstractFormItem.h>

Inheritance diagram for te::qt::plugins::terramobile::AbstractFormItem:
te::qt::plugins::terramobile::BoolFormItem te::qt::plugins::terramobile::DateFormItem te::qt::plugins::terramobile::DoubleFormItem te::qt::plugins::terramobile::IntFormItem te::qt::plugins::terramobile::LabelFormItem te::qt::plugins::terramobile::PictureFormItem te::qt::plugins::terramobile::StringComboFormItem te::qt::plugins::terramobile::StringFormItem te::qt::plugins::terramobile::TimeFormItem

Public Member Functions

 AbstractFormItem ()
 
std::string getKey ()
 
std::string getLabel ()
 
std::string getStrDefaultValue ()
 
std::string getType ()
 
std::vector< std::string > getValues ()
 
bool hasDefaultValue ()
 
void setKey (std::string key)
 
void setLabel (std::string label)
 
virtual ~AbstractFormItem ()
 

Protected Member Functions

virtual void toString ()=0
 

Protected Attributes

std::string m_defaultValue
 
bool m_hasDefaultValue
 
std::string m_key
 
std::string m_label
 
std::string m_type
 
std::vector< std::string > m_values
 

Detailed Description

This file defines the abstract class for a form item.

Definition at line 63 of file AbstractFormItem.h.

Constructor & Destructor Documentation

te::qt::plugins::terramobile::AbstractFormItem::AbstractFormItem ( )

Definition at line 29 of file AbstractFormItem.cpp.

te::qt::plugins::terramobile::AbstractFormItem::~AbstractFormItem ( )
virtual

Definition at line 39 of file AbstractFormItem.cpp.

References m_values.

Member Function Documentation

std::string te::qt::plugins::terramobile::AbstractFormItem::getLabel ( )
inline
std::string te::qt::plugins::terramobile::AbstractFormItem::getStrDefaultValue ( )
std::vector< std::string > te::qt::plugins::terramobile::AbstractFormItem::getValues ( )

Definition at line 53 of file AbstractFormItem.cpp.

References m_values, and toString().

Referenced by hasDefaultValue(), and te::qt::plugins::terramobile::Write().

bool te::qt::plugins::terramobile::AbstractFormItem::hasDefaultValue ( )
inline
void te::qt::plugins::terramobile::AbstractFormItem::setKey ( std::string  key)
inline

Member Data Documentation

std::string te::qt::plugins::terramobile::AbstractFormItem::m_key
protected

Definition at line 97 of file AbstractFormItem.h.

Referenced by getKey(), and setKey().

std::string te::qt::plugins::terramobile::AbstractFormItem::m_label
protected

Definition at line 98 of file AbstractFormItem.h.

Referenced by getLabel(), and setLabel().

std::vector<std::string> te::qt::plugins::terramobile::AbstractFormItem::m_values
protected

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