Jpp  master_rocky-40-g5f0272dcd
the software that should make you happy
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
JDATABASE::APIV2::JPerson Struct Reference

#include <JPersons.hh>

Inheritance diagram for JDATABASE::APIV2::JPerson:
JDATABASE::JSonHelper< JPerson > TObject

Public Member Functions

 JPerson ()
 
 JPerson (const JPersons &person)
 Copy constructor. More...
 
 operator JPersons () const
 Type conversion operator. More...
 
 ClassDef (JPerson, 1)
 

Static Public Member Functions

static const char *const getName ()
 Table name. More...
 

Public Attributes

std::string OID
 
std::string Login
 
std::string Name
 
std::string Surname
 
std::string Location
 
std::string Title
 
std::string GroupCode
 
std::string Occupation
 
std::string CreationDate
 

Detailed Description

Definition at line 41 of file JPersons.hh.

Constructor & Destructor Documentation

◆ JPerson() [1/2]

JDATABASE::APIV2::JPerson::JPerson ( )
inline

Definition at line 47 of file JPersons.hh.

47 {}

◆ JPerson() [2/2]

JDATABASE::APIV2::JPerson::JPerson ( const JPersons person)
inline

Copy constructor.

Parameters
personperson

Definition at line 54 of file JPersons.hh.

54  :
55  OID (person.OID),
56  Login (person.LOGIN),
57  Name (person.NAME),
58  Surname (person.SURNAME),
59  Location (person.LOCATIONID)
60  {}
std::string OID
Definition: JPersons.hh:25
std::string LOGIN
Definition: JPersons.hh:26
JDBString NAME
Definition: JPersons.hh:27
JDBString SURNAME
Definition: JPersons.hh:28
std::string LOCATIONID
Definition: JPersons.hh:29

Member Function Documentation

◆ getName()

static const char* const JDATABASE::APIV2::JPerson::getName ( )
inlinestatic

Table name.

Definition at line 45 of file JPersons.hh.

◆ operator JPersons()

JDATABASE::APIV2::JPerson::operator JPersons ( ) const
inline

Type conversion operator.

Returns
person

Definition at line 67 of file JPersons.hh.

68  {
69  JPersons person;
70 
71  person.OID = this->OID;
72  person.LOGIN = this->Login;
73  person.NAME = this->Name;
74  person.SURNAME = this->Surname;
75  person.LOCATIONID = this->Location;
76 
77  return person;
78  }

◆ ClassDef()

JDATABASE::APIV2::JPerson::ClassDef ( JPerson  ,
 
)

Member Data Documentation

◆ OID

std::string JDATABASE::APIV2::JPerson::OID

Definition at line 80 of file JPersons.hh.

◆ Login

std::string JDATABASE::APIV2::JPerson::Login

Definition at line 81 of file JPersons.hh.

◆ Name

std::string JDATABASE::APIV2::JPerson::Name

Definition at line 82 of file JPersons.hh.

◆ Surname

std::string JDATABASE::APIV2::JPerson::Surname

Definition at line 83 of file JPersons.hh.

◆ Location

std::string JDATABASE::APIV2::JPerson::Location

Definition at line 84 of file JPersons.hh.

◆ Title

std::string JDATABASE::APIV2::JPerson::Title

Definition at line 85 of file JPersons.hh.

◆ GroupCode

std::string JDATABASE::APIV2::JPerson::GroupCode

Definition at line 86 of file JPersons.hh.

◆ Occupation

std::string JDATABASE::APIV2::JPerson::Occupation

Definition at line 87 of file JPersons.hh.

◆ CreationDate

std::string JDATABASE::APIV2::JPerson::CreationDate

Definition at line 88 of file JPersons.hh.


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