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

Represents a new privilege to be created. More...

#include <VxNewPrivilege.h>

Public Member Functions

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

Public Attributes

int priority
 Relative priority for the privilege, from 1 to 250. Smaller numbers have higher priority than larger numbers (e.g. 1 is the highest priority). More...
 
VxPermissionId::Value permissionId
 Identifier of the permission being granted. More...
 

Detailed Description

Represents a new privilege to be created.

Definition at line 12 of file VxNewPrivilege.h.

Constructor & Destructor Documentation

VxSdk::VxNewPrivilege::VxNewPrivilege ( )
inline

Initializes a new instance of the VxNewPrivilege struct.

Definition at line 17 of file VxNewPrivilege.h.

17  {
18  Clear();
19  }
void Clear()
Clears this instance.
VxSdk::VxNewPrivilege::VxNewPrivilege ( const VxNewPrivilege ref)
inline

Initializes a new instance of the VxNewPrivilege struct.

Parameters
refThe reference.

Definition at line 25 of file VxNewPrivilege.h.

25  {
26  this->priority = ref.priority;
27  this->permissionId = ref.permissionId;
28  }
VxPermissionId::Value permissionId
Identifier of the permission being granted.
int priority
Relative priority for the privilege, from 1 to 250. Smaller numbers have higher priority than larger ...
VxSdk::VxNewPrivilege::~VxNewPrivilege ( )
inline

Finalizes an instance of the VxNewPrivilege struct.

Definition at line 33 of file VxNewPrivilege.h.

33  {
34  Clear();
35  }
void Clear()
Clears this instance.

Member Function Documentation

void VxSdk::VxNewPrivilege::Clear ( )
inline

Clears this instance.

Definition at line 40 of file VxNewPrivilege.h.

40  {
41  this->priority = 0;
43  }
VxPermissionId::Value permissionId
Identifier of the permission being granted.
int priority
Relative priority for the privilege, from 1 to 250. Smaller numbers have higher priority than larger ...
An error or unknown value was returned.
Definition: VxPrimitives.h:464

Member Data Documentation

VxPermissionId::Value VxSdk::VxNewPrivilege::permissionId

Identifier of the permission being granted.

Definition at line 54 of file VxNewPrivilege.h.

int VxSdk::VxNewPrivilege::priority

Relative priority for the privilege, from 1 to 250. Smaller numbers have higher priority than larger numbers (e.g. 1 is the highest priority).

Definition at line 50 of file VxNewPrivilege.h.


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