52 parentRegistry = 0)
const;
55 virtual bool setFromNet(
const char* contentBuffer,
56 unsigned contentSize);
64 virtual bool cloudTypeSpecified()
const;
66 virtual void clearCloudType();
71 virtual void setCloudAltitude(
double value);
72 virtual double cloudAltitude()
const;
74 virtual bool cloudAltitudeSpecified()
const;
76 virtual void clearCloudAltitude();
81 virtual void setCloudThickness(
double value);
82 virtual double cloudThickness()
const;
84 virtual bool cloudThicknessSpecified()
const;
86 virtual void clearCloudThickness();
91 virtual void setCornerRadius(
double value);
92 virtual double cornerRadius()
const;
94 virtual bool cornerRadiusSpecified()
const;
96 virtual void clearCornerRadius();
101 virtual void setCloudDensity(
double value);
102 virtual double cloudDensity()
const;
104 virtual bool cloudDensitySpecified()
const;
106 virtual void clearCloudDensity();
111 virtual void setLightningPresent(
bool isPresent);
112 virtual bool lightningPresent()
const;
114 virtual bool lightningPresentSpecified()
const;
116 virtual void clearLightningPresent();
122 return !(*
this == rhs);
126 virtual void setAllValuesSpecified(
bool);
134 virtual void setUUID(
const DtUUID&);
135 virtual const DtUUID& uuid()
const;
bool operator==(const DtReaderWriter &) const
Equivalence operator.
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
DtRwUUID myUUID
Definition: changeCloudLayerCommand.h:148
virtual bool fromXmlFile(const DtFilename &)
Restores object from given xml file.
DtRwBoolean myLightningPresent
Definition: changeCloudLayerCommand.h:146
virtual bool setToNet()
Calls netRep() to create the network buffer. Casts the resulting myNetRep to type DtNetSimSimCommand*...
virtual DtString stringRep() const =0
Returns a human-readable string representation of the command. This string representation is used to ...
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
DtRwInt myCloudType
Definition: changeCloudLayerCommand.h:141
CloudLayerCloudType
Definition: vrfCloudLayerStateEnums.h:14
virtual bool fromXml(const DtString &)
Restores object from given xml string. Returns true if valid.
Description: Readable, Writable uuid string. Use this class in order to convert from object marking t...
Definition: rwUUID.h:428
Contains the enums for cloud layers.
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class. This is the size in bytes of th...
DtRwReal myCornerRadius
Definition: changeCloudLayerCommand.h:144
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubsimCommand member from the incoming contentBuffer (cast to type DtNetSimSimCommand). Derived classes should call down to this function first, and then extract their own data starting at the location contentBuffer + DtSimCommand::netRepSize().
Description: Readable, Writable int.
Definition: rwInt.h:25
DtRwReal myCloudAltitude
Definition: changeCloudLayerCommand.h:142
const DtSimCommand & operator=(const DtSimCommand &orig)
assignment operator; same as copy constructor
A DtSimCommand subclass which specifies a change to the cloud layer settings for the specified cloud ...
Definition: changeCloudLayerCommand.h:25
DtSimCommand is an abstract base class from which commands can derive. It manages the read/write capa...
Definition: simCommand.h:32
virtual bool operator!=(const DtChangeCloudLayerCommand &rhs) const
Definition: changeCloudLayerCommand.h:120
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtSimCommand * clone() const
Version of clone that preserves the existing name, and assigns a null parent registry.
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
virtual const DtSimCommandMessageType & type() const =0
#define DT_DLL_vrfplan
This file is used to determine how to build.
Definition: vrfplanDefines.h:28
DtRwReal myCloudThickness
Definition: changeCloudLayerCommand.h:143
DtRwReal myCloudDensity
Definition: changeCloudLayerCommand.h:145