VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::VxKvObject Struct Reference

Represents a key/value pair object. More...

#include <VxKvObject.h>

Public Member Functions

 VxKvObject ()
 Initializes a new instance of the VxKvObject struct. More...
 
 VxKvObject (const VxKvObject &ref)
 Initializes a new instance of the VxKvObject struct. More...
 
 ~VxKvObject ()
 Finalizes an instance of the VxKvObject class. More...
 
void Clear ()
 Clears this instance. More...
 

Public Attributes

char key [64]
 The object key. More...
 
char value [2048]
 The object value. More...
 

Detailed Description

Represents a key/value pair object.

Definition at line 12 of file VxKvObject.h.

Constructor & Destructor Documentation

VxSdk::VxKvObject::VxKvObject ( )
inline

Initializes a new instance of the VxKvObject struct.

Definition at line 17 of file VxKvObject.h.

17  {
18  Clear();
19  }
void Clear()
Clears this instance.
Definition: VxKvObject.h:40
VxSdk::VxKvObject::VxKvObject ( const VxKvObject ref)
inline

Initializes a new instance of the VxKvObject struct.

Parameters
refThe reference.

Definition at line 25 of file VxKvObject.h.

25  {
26  Utilities::StrCopySafe(this->key, ref.key);
27  Utilities::StrCopySafe(this->value, ref.value);
28  }
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
char key[64]
The object key.
Definition: VxKvObject.h:49
char value[2048]
The object value.
Definition: VxKvObject.h:53
VxSdk::VxKvObject::~VxKvObject ( )
inline

Finalizes an instance of the VxKvObject class.

Definition at line 33 of file VxKvObject.h.

33  {
34  Clear();
35  }
void Clear()
Clears this instance.
Definition: VxKvObject.h:40

Member Function Documentation

void VxSdk::VxKvObject::Clear ( )
inline

Clears this instance.

Definition at line 40 of file VxKvObject.h.

40  {
41  VxZeroArray(this->key);
42  VxZeroArray(this->value);
43  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
char key[64]
The object key.
Definition: VxKvObject.h:49
char value[2048]
The object value.
Definition: VxKvObject.h:53

Member Data Documentation

char VxSdk::VxKvObject::key[64]

The object key.

Definition at line 49 of file VxKvObject.h.

char VxSdk::VxKvObject::value[2048]

The object value.

Definition at line 53 of file VxKvObject.h.


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