te::qt::plugins::terramobile::StringFormItem Class Reference

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

#include <StringFormItem.h>

Inheritance diagram for te::qt::plugins::terramobile::StringFormItem:
te::qt::plugins::terramobile::AbstractFormItem

Public Member Functions

std::string getKey ()
 
std::string getLabel ()
 
std::string getStrDefaultValue ()
 
std::string getType ()
 
std::string getValue ()
 
std::vector< std::string > getValues ()
 
bool hasDefaultValue ()
 
void setKey (std::string key)
 
void setLabel (std::string label)
 
void setValue (std::string value)
 
 StringFormItem ()
 
 ~StringFormItem ()
 

Protected Member Functions

virtual void toString ()
 

Protected Attributes

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

Detailed Description

This file defines the class for a string form item.

Definition at line 48 of file StringFormItem.h.

Constructor & Destructor Documentation

te::qt::plugins::terramobile::StringFormItem::StringFormItem ( )
te::qt::plugins::terramobile::StringFormItem::~StringFormItem ( )

Definition at line 34 of file StringFormItem.cpp.

Member Function Documentation

std::string te::qt::plugins::terramobile::StringFormItem::getValue ( )

Definition at line 45 of file StringFormItem.cpp.

References m_value.

std::vector< std::string > te::qt::plugins::terramobile::AbstractFormItem::getValues ( )
inherited
void te::qt::plugins::terramobile::AbstractFormItem::setKey ( std::string  key)
inlineinherited
void te::qt::plugins::terramobile::StringFormItem::setValue ( std::string  value)
void te::qt::plugins::terramobile::StringFormItem::toString ( void  )
protectedvirtual

Member Data Documentation

std::string te::qt::plugins::terramobile::AbstractFormItem::m_key
protectedinherited
std::string te::qt::plugins::terramobile::AbstractFormItem::m_label
protectedinherited
std::string te::qt::plugins::terramobile::StringFormItem::m_value
protected

Definition at line 70 of file StringFormItem.h.

Referenced by getValue(), setValue(), and toString().

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

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