Now you can download a copy of these docs so you can use them offline! Download now
ComplexEntryType Class Referenceabstract

#include <ComplexEntryType.h>

Inheritance diagram for ComplexEntryType:
Collaboration diagram for ComplexEntryType:

Public Member Functions

virtual bool isComplex ()
 
virtual EntryValue internalizeValue (std::string &key, ComplexData &externalRepresentation, EntryValue currentInteralValue)=0
 
virtual void exportValue (std::string &key, EntryValue internalData, ComplexData &externalRepresentation)=0
 
- Public Member Functions inherited from NetworkTableEntryType
virtual void sendValue (EntryValue value, DataIOStream &os)=0
 
virtual EntryValue readValue (DataIOStream &is)=0
 
virtual EntryValue copyValue (EntryValue value)
 
virtual bool areEqual (EntryValue v1, EntryValue v2)=0
 
virtual void deleteValue (EntryValue value)
 

Protected Member Functions

 ComplexEntryType (TypeId id, const char *name)
 
- Protected Member Functions inherited from NetworkTableEntryType
 NetworkTableEntryType (TypeId id, const char *name)
 

Additional Inherited Members

- Public Attributes inherited from NetworkTableEntryType
const TypeId id
 
const char * name
 

Detailed Description

Represents a non-primitive data type (i.e. not a string, double, or boolean).

Definition at line 19 of file ComplexEntryType.h.

Member Function Documentation

virtual void ComplexEntryType::exportValue ( std::string &  key,
EntryValue  internalData,
ComplexData externalRepresentation 
)
pure virtual

Updates the given external representation for an entry of this type with the given internal value.

Parameters
keyThe name of the field to export.
internalDataThe current value to reference.
externalRepresentationThe external representation to update.

Implemented in ArrayEntryType.

virtual EntryValue ComplexEntryType::internalizeValue ( std::string &  key,
ComplexData externalRepresentation,
EntryValue  currentInteralValue 
)
pure virtual

Updates the internal representation for an entry of this type with the given value.

Parameters
keyThe name of the field to update.
externalRepresentationThe existing data structure to update.
currentInternalValueThe value to update the external representation with.

Implemented in ArrayEntryType.

bool ComplexEntryType::isComplex ( )
virtual

See NetworkTableEntryType::isComplex.

Reimplemented from NetworkTableEntryType.

Definition at line 13 of file ComplexEntryType.cpp.


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

Generated on Sat Apr 26 2014 12:26:46 for WPILibC++ by doxygen 1.8.6