Vector BLF
Vector::BLF::EnvironmentVariable Struct Referencefinal

ENV_INTEGER, ENV_DOUBLE, ENV_STRING, ENV_DATA. More...

#include <EnvironmentVariable.h>

Inheritance diagram for Vector::BLF::EnvironmentVariable:
Vector::BLF::ObjectHeader Vector::BLF::ObjectHeaderBase

Public Member Functions

void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeader
 ObjectHeader (const ObjectType objectType, const WORD objectVersion=0)
 
void read (AbstractFile &is) override
 
void write (AbstractFile &os) override
 
WORD calculateHeaderSize () const override
 
DWORD calculateObjectSize () const override
 
- Public Member Functions inherited from Vector::BLF::ObjectHeaderBase
 ObjectHeaderBase (const WORD headerVersion, const ObjectType objectType)
 
 ObjectHeaderBase (const ObjectHeaderBase &)=default
 
ObjectHeaderBaseoperator= (const ObjectHeaderBase &)=default
 
 ObjectHeaderBase (ObjectHeaderBase &&)=default
 
ObjectHeaderBaseoperator= (ObjectHeaderBase &&)=default
 

Public Attributes

DWORD nameLength {}
 length of variable name in bytes More...
 
DWORD dataLength {}
 length of variable data in bytes More...
 
ULONGLONG reservedEnvironmentVariable {}
 
std::string name {}
 variable name in MBCS More...
 
std::vector< uint8_t > data {}
 variable data More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeader
DWORD objectFlags {ObjectFlags::TimeOneNans}
 object flags More...
 
WORD clientIndex {}
 client index of send node
 
WORD objectVersion {0}
 object specific version More...
 
ULONGLONG objectTimeStamp {}
 object timestamp More...
 
- Public Attributes inherited from Vector::BLF::ObjectHeaderBase
DWORD signature {ObjectSignature}
 signature (ObjectSignature) More...
 
WORD headerSize {}
 sizeof object header More...
 
WORD headerVersion {}
 header version (1) More...
 
DWORD objectSize {}
 object size More...
 
ObjectType objectType {}
 object type More...
 

Additional Inherited Members

- Public Types inherited from Vector::BLF::ObjectHeader
enum  ObjectFlags : DWORD { TimeTenMics = 0x00000001 , TimeOneNans = 0x00000002 }
 

Detailed Description

ENV_INTEGER, ENV_DOUBLE, ENV_STRING, ENV_DATA.

Environment variable that can be used with CANoe.

Member Function Documentation

◆ calculateObjectSize()

DWORD Vector::BLF::EnvironmentVariable::calculateObjectSize ( ) const
overridevirtual

Calculates the objectSize

Returns
object size

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ read()

void Vector::BLF::EnvironmentVariable::read ( AbstractFile is)
overridevirtual

Read the data of this object

Parameters
isinput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

◆ write()

void Vector::BLF::EnvironmentVariable::write ( AbstractFile os)
overridevirtual

Write the data of this object

Parameters
osoutput stream

Reimplemented from Vector::BLF::ObjectHeaderBase.

Member Data Documentation

◆ data

std::vector<uint8_t> Vector::BLF::EnvironmentVariable::data {}

variable data

Data value of the environment variable.

◆ dataLength

DWORD Vector::BLF::EnvironmentVariable::dataLength {}

length of variable data in bytes

Length of the data of the environment variable in bytes.

◆ name

std::string Vector::BLF::EnvironmentVariable::name {}

variable name in MBCS

Name of the environment variable.

◆ nameLength

DWORD Vector::BLF::EnvironmentVariable::nameLength {}

length of variable name in bytes

Length of the name of the environment variable (without terminating 0)

◆ reservedEnvironmentVariable

ULONGLONG Vector::BLF::EnvironmentVariable::reservedEnvironmentVariable {}

reserved


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