te::qt::plugins::terramobile::TimeFormItem Class Reference

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

#include <TimeFormItem.h>

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

Public Member Functions

std::string getKey ()
 
std::string getLabel ()
 
std::string getStrDefaultValue ()
 
std::string getType ()
 
te::dt::DateTimegetValue ()
 
std::vector< std::string > getValues ()
 
bool hasDefaultValue ()
 
void setKey (std::string key)
 
void setLabel (std::string label)
 
void setValue (te::dt::DateTime *value)
 
 TimeFormItem ()
 
 ~TimeFormItem ()
 

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
 
te::dt::DateTimem_value
 
std::vector< std::string > m_values
 

Detailed Description

This file defines the class for a time form item.

Definition at line 49 of file TimeFormItem.h.

Constructor & Destructor Documentation

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

Definition at line 34 of file TimeFormItem.cpp.

References m_value.

Member Function Documentation

te::dt::DateTime * te::qt::plugins::terramobile::TimeFormItem::getValue ( )

Definition at line 44 of file TimeFormItem.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::TimeFormItem::setValue ( te::dt::DateTime value)

Definition at line 39 of file TimeFormItem.cpp.

References m_value.

void te::qt::plugins::terramobile::TimeFormItem::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
te::dt::DateTime* te::qt::plugins::terramobile::TimeFormItem::m_value
protected

Definition at line 71 of file TimeFormItem.h.

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

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

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