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

Represents a telephone number for a user. More...

#include <VxPhoneNumber.h>

Public Member Functions

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

Public Attributes

char number [64]
 The phone number. More...
 
VxPhoneType::Value type
 The type of phone number. More...
 

Detailed Description

Represents a telephone number for a user.

Definition at line 12 of file VxPhoneNumber.h.

Constructor & Destructor Documentation

VxSdk::VxPhoneNumber::VxPhoneNumber ( )
inline

Initializes a new instance of the VxPhoneNumber struct.

Definition at line 17 of file VxPhoneNumber.h.

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

Initializes a new instance of the VxPhoneNumber struct.

Parameters
refThe reference.

Definition at line 25 of file VxPhoneNumber.h.

25  {
26  Utilities::StrCopySafe(this->number, ref.number);
27  this->type = ref.type;
28  }
char number[64]
The phone number.
Definition: VxPhoneNumber.h:49
VxPhoneType::Value type
The type of phone number.
Definition: VxPhoneNumber.h:53
static void StrCopySafe(char(&dst)[dstSize], const char *src)
Performs a safe string copy.
Definition: VxUtilities.h:15
VxSdk::VxPhoneNumber::~VxPhoneNumber ( )
inline

Finalizes an instance of the VxPhoneNumber class.

Definition at line 33 of file VxPhoneNumber.h.

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

Member Function Documentation

void VxSdk::VxPhoneNumber::Clear ( )
inline

Clears this instance.

Definition at line 40 of file VxPhoneNumber.h.

40  {
41  VxZeroArray(this->number);
42  this->type = VxPhoneType::kOther;
43  }
#define VxZeroArray(src)
Definition: VxMacros.h:25
char number[64]
The phone number.
Definition: VxPhoneNumber.h:49
VxPhoneType::Value type
The type of phone number.
Definition: VxPhoneNumber.h:53

Member Data Documentation

char VxSdk::VxPhoneNumber::number[64]

The phone number.

Definition at line 49 of file VxPhoneNumber.h.

VxPhoneType::Value VxSdk::VxPhoneNumber::type

The type of phone number.

Definition at line 53 of file VxPhoneNumber.h.


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