19 #include <matrix/vlVector.h>
35 const DtString& name = DtString::nullString(),
44 const DtString& name = DtString::nullString(),
77 virtual const char *
xmlType()
const override {
82 virtual void putData(std::string &fp,
int indentLevel = 0)
override;
86 virtual double distSquaredTo(
const DtVector& point)
const;
102 virtual double value()
const {
return magnitudeSquared(); };
124 const DtString& name = DtString::nullString(),
133 const DtString& name = DtString::nullString(),
159 virtual const char *
xmlType()
const override {
180 virtual void setFront(
double);
181 virtual double front()
const;
186 virtual void setRight(
double);
187 virtual double right()
const;
192 virtual void setUp(
double);
193 virtual double up()
const;
bool operator==(const DtReaderWriter &) const
Equivalence operator.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
#define DT_DLL_readerWriter
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: readerWriterDefines.h:34
virtual double value() const
Returns magnitude squared.
Definition: rwVector.h:102
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
virtual DtlObjPtr getData(DtlObjPtr args, const SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)
Deriving class overrides these to get/put class specific data.
virtual void getData(const DtEnvironmentSP, const DtEnvValueSP value, const DtReaderWriter::SearchPaths &searchPaths=DtReaderWriter::SearchPaths(), const DtVariableBindingsList &bindings=DtVariableBindingsList()) override
Routines to archive/dearchive from an XML Environment.
Definition: readerWriter.h:85
Definition: readerWriterRegistry.h:39
virtual DtString prettyPrint() const
Routine to return a human readable form of the reader/writer variable. Not all reader/writer classes ...
static const char * theXmlType()
The type that is used when archiving to an XML stream.
Definition: rwVector.h:23
DtRwVector & operator=(const DtRwVector &orig)
Assign to DtRwVector. Assigns value only.
virtual void putData(DtEnvironmentSP, DtEnvValueSP parent) const override
Routines to archive/dearchive from an XML Environment.
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
virtual const char * xmlType() const override
Routines to archive/dearchive from an XML Environment.
Definition: rwVector.h:77
virtual void putData(std::string &fp, int indentLevel=0)
Deriving class overrides these to get/put class specific data.
Specialized vector that can be used for the knowledge of an "offset" rather than location vector...
Definition: rwVector.h:112
bool operator!=(const DtRwVector &rhs) const
Definition: rwVector.h:97
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DT_DLL_readerWriter std::shared_ptr< DtEnvironment > DtEnvironmentSP
Definition: readerWriter.h:30
virtual const char * xmlType() const override
Routines to archive/dearchive from an XML Environment.
Definition: rwVector.h:159