VideoXpert SDK  2.0
A software development kit for third party vendors to integrate with the VideoXpert platform
VxSdk::VxCollection< T > Struct Template Reference

Represents a collection of resources. More...

#include <VxCollection.h>

Public Member Functions

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

Public Attributes

int collectionSize
 The size of collection. More...
 
int filterSize
 The size of filters. More...
 
int startIndex
 The start index. More...
 
int totalItems
 The total amount of items. More...
 
collection
 The collection of resources. More...
 
VxCollectionFilterfilters
 The filters to be applied to the collection request. More...
 

Detailed Description

template<typename T>
struct VxSdk::VxCollection< T >

Represents a collection of resources.

Definition at line 14 of file VxCollection.h.

Constructor & Destructor Documentation

template<typename T>
VxSdk::VxCollection< T >::VxCollection ( )
inline

Initializes a new instance of the VxCollection<T> struct.

Definition at line 19 of file VxCollection.h.

19  {
20  Clear();
21  }
void Clear()
Clears this instance.
Definition: VxCollection.h:46
template<typename T>
VxSdk::VxCollection< T >::VxCollection ( const VxCollection< T > &  ref)
inline

Initializes a new instance of the VxCollection<T> struct.

Parameters
refThe reference.

Definition at line 27 of file VxCollection.h.

27  {
28  this->collectionSize = ref.collectionSize;
29  this->filterSize = ref.filterSize;
30  this->startIndex = ref.startIndex;
31  this->totalItems = ref.totalItems;
32  this->collection = ref.collection;
33  this->filters = ref.filters;
34  }
int collectionSize
The size of collection.
Definition: VxCollection.h:59
int totalItems
The total amount of items.
Definition: VxCollection.h:71
int startIndex
The start index.
Definition: VxCollection.h:67
T collection
The collection of resources.
Definition: VxCollection.h:75
int filterSize
The size of filters.
Definition: VxCollection.h:63
VxCollectionFilter * filters
The filters to be applied to the collection request.
Definition: VxCollection.h:79
template<typename T>
VxSdk::VxCollection< T >::~VxCollection ( )
inline

Finalizes an instance of the VxCollection<T> class.

Definition at line 39 of file VxCollection.h.

39  {
40  Clear();
41  }
void Clear()
Clears this instance.
Definition: VxCollection.h:46

Member Function Documentation

template<typename T>
void VxSdk::VxCollection< T >::Clear ( )
inline

Clears this instance.

Definition at line 46 of file VxCollection.h.

46  {
47  this->collectionSize = 0;
48  this->filterSize = 0;
49  this->startIndex = 0;
50  this->totalItems = 0;
51  this->collection = T();
52  this->filters = nullptr;
53  }
int collectionSize
The size of collection.
Definition: VxCollection.h:59
int totalItems
The total amount of items.
Definition: VxCollection.h:71
int startIndex
The start index.
Definition: VxCollection.h:67
T collection
The collection of resources.
Definition: VxCollection.h:75
int filterSize
The size of filters.
Definition: VxCollection.h:63
VxCollectionFilter * filters
The filters to be applied to the collection request.
Definition: VxCollection.h:79

Member Data Documentation

template<typename T>
T VxSdk::VxCollection< T >::collection

The collection of resources.

Definition at line 75 of file VxCollection.h.

template<typename T>
int VxSdk::VxCollection< T >::collectionSize

The size of collection.

Definition at line 59 of file VxCollection.h.

template<typename T>
VxCollectionFilter* VxSdk::VxCollection< T >::filters

The filters to be applied to the collection request.

Definition at line 79 of file VxCollection.h.

template<typename T>
int VxSdk::VxCollection< T >::filterSize

The size of filters.

Definition at line 63 of file VxCollection.h.

template<typename T>
int VxSdk::VxCollection< T >::startIndex

The start index.

Definition at line 67 of file VxCollection.h.

template<typename T>
int VxSdk::VxCollection< T >::totalItems

The total amount of items.

Definition at line 71 of file VxCollection.h.


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