25 #ifndef __OETCS_DF_LANGUAGE_H__
26 #define __OETCS_DF_LANGUAGE_H__
33 #include "Error/ExceptionTypes.h"
39 namespace oETCS {
namespace UT {
class CLanguage; } }
41 namespace oETCS {
namespace DF {
class CEVCStateMachine; } }
42 namespace oETCS {
namespace DF {
class CBitFlow; } }
146 explicit CVariable(
oETCS::DF::CEVCStateMachine *
const pStateMachine,
const unsigned int & iResolution,
const UNIT_T & eUnit,
const unsigned long & lSize,
const bool & bIsConditional =
false,
const long & lConditonalValue = 0, const ::std::map< VARIABLE_VALUE_VECTOR_T, CVariable * >& ValueMap = ::std::map< VARIABLE_VALUE_VECTOR_T, CVariable * >()) throw();
169 void Calculate() throw(::oETCS::DF::Error::CException);
178 unsigned long GetSize() const throw();
187 void SetValue(const ::std::
string& Value) throw();
196 CVariable& operator<<(const ::std::vector<
bool >& Bits) throw(::oETCS::DF::Error::CException);
206 CVariable& operator>>(::std::vector<
bool >& Bits) throw(::oETCS::DF::Error::CException);
334 #ifdef __HAS_UNIT_TEST__
338 #endif // #ifdef __HAS_UNIT_TEST__
361 explicit CPacket(
oETCS::DF::CEVCStateMachine *
const pStateMachine,
const unsigned char & cID, const ::std::vector< oETCS::DF::CVariable * >& Variables = ::std::vector< oETCS::DF::CVariable* >(0))
throw();
384 unsigned long GetSize()
const throw();
437 #ifdef __HAS_UNIT_TEST__
441 #endif // #ifdef __HAS_UNIT_TEST__
464 CTelegram(
oETCS::DF::CEVCStateMachine *
const pStateMachine, const ::std::vector< oETCS::DF::CVariable * >& Header, const ::std::vector< oETCS::DF::CPacket * >& Packets)
throw();
488 unsigned long GetSize()
const throw();
531 const ::std::vector< oETCS::DF::CVariable* >
m_Header;
537 #ifdef __HAS_UNIT_TEST__
541 #endif // #ifdef __HAS_UNIT_TEST__
553 #endif // __ OETCS_DF_LANGUAGE_H__