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

Represents the information needed to log in to a VideoXpert system. More...

#include <VxLoginInfo.h>

Public Member Functions

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

Public Attributes

bool useSsl
 Indicates whether the connection will use SSL. More...
 
char authToken [512]
 The authentication token to use. More...
 
char ipAddress [64]
 The VideoXpert system IP. More...
 
char password [64]
 The password to login with. More...
 
char username [64]
 The username to login with. More...
 
unsigned short port
 The VideoXpert system port. More...
 

Detailed Description

Represents the information needed to log in to a VideoXpert system.

Definition at line 12 of file VxLoginInfo.h.

Constructor & Destructor Documentation

VxSdk::VxLoginInfo::VxLoginInfo ( )
inline

Initializes a new instance of the VxLoginInfo struct.

Definition at line 17 of file VxLoginInfo.h.

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

Initializes a new instance of the VxLoginInfo struct.

Parameters
refThe reference.

Definition at line 25 of file VxLoginInfo.h.

25  {
26  this->useSsl = ref.useSsl;
27  Utilities::StrCopySafe(this->authToken, ref.authToken);
28  Utilities::StrCopySafe(this->ipAddress, ref.ipAddress);
29  Utilities::StrCopySafe(this->password, ref.password);
30  Utilities::StrCopySafe(this->username, ref.username);
31  this->port = ref.port;
32  }
unsigned short port
The VideoXpert system port.
Definition: VxLoginInfo.h:77
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
char ipAddress[64]
The VideoXpert system IP.
Definition: VxLoginInfo.h:65
char username[64]
The username to login with.
Definition: VxLoginInfo.h:73
char password[64]
The password to login with.
Definition: VxLoginInfo.h:69
bool useSsl
Indicates whether the connection will use SSL.
Definition: VxLoginInfo.h:57
char authToken[512]
The authentication token to use.
Definition: VxLoginInfo.h:61
VxSdk::VxLoginInfo::~VxLoginInfo ( )
inline

Finalizes an instance of the VxLoginInfo class.

Definition at line 37 of file VxLoginInfo.h.

37  {
38  Clear();
39  }
void Clear()
Clears this instance.
Definition: VxLoginInfo.h:44

Member Function Documentation

void VxSdk::VxLoginInfo::Clear ( )
inline

Clears this instance.

Definition at line 44 of file VxLoginInfo.h.

44  {
45  this->useSsl = false;
46  VxZeroArray(this->authToken);
47  VxZeroArray(this->ipAddress);
48  VxZeroArray(this->password);
49  VxZeroArray(this->username);
50  this->port = 0;
51  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
unsigned short port
The VideoXpert system port.
Definition: VxLoginInfo.h:77
char ipAddress[64]
The VideoXpert system IP.
Definition: VxLoginInfo.h:65
char username[64]
The username to login with.
Definition: VxLoginInfo.h:73
char password[64]
The password to login with.
Definition: VxLoginInfo.h:69
bool useSsl
Indicates whether the connection will use SSL.
Definition: VxLoginInfo.h:57
char authToken[512]
The authentication token to use.
Definition: VxLoginInfo.h:61

Member Data Documentation

char VxSdk::VxLoginInfo::authToken[512]

The authentication token to use.

Definition at line 61 of file VxLoginInfo.h.

char VxSdk::VxLoginInfo::ipAddress[64]

The VideoXpert system IP.

Definition at line 65 of file VxLoginInfo.h.

char VxSdk::VxLoginInfo::password[64]

The password to login with.

Definition at line 69 of file VxLoginInfo.h.

unsigned short VxSdk::VxLoginInfo::port

The VideoXpert system port.

Definition at line 77 of file VxLoginInfo.h.

char VxSdk::VxLoginInfo::username[64]

The username to login with.

Definition at line 73 of file VxLoginInfo.h.

bool VxSdk::VxLoginInfo::useSsl

Indicates whether the connection will use SSL.

Definition at line 57 of file VxLoginInfo.h.


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