35 lines
947 B
C++
35 lines
947 B
C++
|
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
||
|
Module: FGPropertyValue.cpp
|
||
|
Author: Jon Berndt
|
||
|
Date started: 12/10/2004
|
||
|
Purpose: Stores property values
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
INCLUDES
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
||
|
|
||
|
#include "FGPropertyValue.h"
|
||
|
|
||
|
namespace JSBSim {
|
||
|
|
||
|
static const char *IdSrc = "$Id$";
|
||
|
static const char *IdHdr = ID_PROPERTYVALUE;
|
||
|
|
||
|
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
CLASS IMPLEMENTATION
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|
||
|
|
||
|
FGPropertyValue::FGPropertyValue(FGPropertyManager* propNode) : PropertyManager(propNode)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
||
|
double FGPropertyValue::GetValue(void) const
|
||
|
{
|
||
|
return PropertyManager->getDoubleValue();
|
||
|
}
|
||
|
|
||
|
}
|