Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
caf::Restorer Class Reference

#include "SRProxy/BasicTypesProxy.h"

Inheritance diagram for caf::Restorer:
caf::RestorerT< std::string > caf::RestorerT< bool > caf::RestorerT< long double > caf::RestorerT< double > caf::RestorerT< float > caf::RestorerT< unsigned long long > caf::RestorerT< unsigned long > caf::RestorerT< unsigned int > caf::RestorerT< unsigned short > caf::RestorerT< unsigned char > caf::RestorerT< long long > caf::RestorerT< long > caf::RestorerT< int > caf::RestorerT< short > caf::RestorerT< char >

Public Member Functions

template<class T >
void Add (Proxy< T > &p)
 
void Add (char *p, char v)
 

Protected Attributes

std::vector< std::pair< char *, char > > fVals
 

Private Member Functions

void Add (short *p, short v)
 
void Add (int *p, int v)
 
void Add (long *p, long v)
 
void Add (long long *p, long long v)
 
void Add (unsigned char *p, unsigned char v)
 
void Add (unsigned short *p, unsigned short v)
 
void Add (unsigned int *p, unsigned int v)
 
void Add (unsigned long *p, unsigned long v)
 
void Add (unsigned long long *p, unsigned long long v)
 
void Add (float *p, float v)
 
void Add (double *p, double v)
 
void Add (long double *p, long double v)
 
void Add (bool *p, bool v)
 
void Add (std::string *p, std::string v)
 

Private Attributes

std::vector< std::pair< short *, short > > fVals
 
std::vector< std::pair< int *, int > > fVals
 
std::vector< std::pair< long *, long > > fVals
 
std::vector< std::pair< long long *, long long > > fVals
 
std::vector< std::pair< unsigned char *, unsigned char > > fVals
 
std::vector< std::pair< unsigned short *, unsigned short > > fVals
 
std::vector< std::pair< unsigned int *, unsigned int > > fVals
 
std::vector< std::pair< unsigned long *, unsigned long > > fVals
 
std::vector< std::pair< unsigned long long *, unsigned long long > > fVals
 
std::vector< std::pair< float *, float > > fVals
 
std::vector< std::pair< double *, double > > fVals
 
std::vector< std::pair< long double *, long double > > fVals
 
std::vector< std::pair< bool *, bool > > fVals
 
std::vector< std::pair< std::string *, std::string > > fVals
 

Detailed Description

Definition at line 324 of file BasicTypesProxy.h.

Member Function Documentation

void caf::RestorerT< char >::Add ( char *  p,
char  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< char *, char > > fVals
void caf::RestorerT< int >::Add ( int p,
int  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< int *, int > > fVals
void caf::RestorerT< bool >::Add ( bool *  p,
bool  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< bool *, bool > > fVals
void caf::RestorerT< long double >::Add ( long double *  p,
long double  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< long double *, long double > > fVals
void caf::RestorerT< double >::Add ( double *  p,
double  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< double *, double > > fVals
void caf::RestorerT< float >::Add ( float *  p,
float  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< float *, float > > fVals
void caf::RestorerT< unsigned long long >::Add ( unsigned long long *  p,
unsigned long long  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< unsigned long long *, unsigned long long > > fVals
void caf::RestorerT< unsigned long >::Add ( unsigned long *  p,
unsigned long  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< unsigned long *, unsigned long > > fVals
void caf::RestorerT< unsigned int >::Add ( unsigned int p,
unsigned int  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< unsigned int *, unsigned int > > fVals
void caf::RestorerT< unsigned short >::Add ( unsigned short *  p,
unsigned short  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< unsigned short *, unsigned short > > fVals
void caf::RestorerT< unsigned char >::Add ( unsigned char *  p,
unsigned char  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< unsigned char *, unsigned char > > fVals
void caf::RestorerT< long long >::Add ( long long *  p,
long long  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< long long *, long long > > fVals
void caf::RestorerT< long >::Add ( long *  p,
long  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< long *, long > > fVals
void caf::RestorerT< std::string >::Add ( std::string p,
std::string  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< std::string *, std::string > > fVals
void caf::RestorerT< short >::Add ( short *  p,
short  v 
)
inlineinherited

Definition at line 315 of file BasicTypesProxy.h.

316  {
317  fVals.emplace_back(p, v);
318  }
const char * p
Definition: xmltok.h:285
std::vector< std::pair< short *, short > > fVals
template<class T >
void caf::Restorer::Add ( Proxy< T > &  p)
inline

Definition at line 342 of file BasicTypesProxy.h.

References caf::Proxy< T >::fVal, and caf::Proxy< T >::GetValue().

Referenced by caf::SRProxySystController::Backup().

343  {
344  RestorerT<typename Proxy<T>::U>::Add(&p.fVal, p.GetValue());
345  }
const char * p
Definition: xmltok.h:285
void Add(Proxy< T > &p)

Member Data Documentation

std::vector<std::pair<char *, char > > caf::RestorerT< char >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<std::string *, std::string > > caf::RestorerT< std::string >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<bool *, bool > > caf::RestorerT< bool >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<long double *, long double > > caf::RestorerT< long double >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<double *, double > > caf::RestorerT< double >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<float *, float > > caf::RestorerT< float >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<unsigned long long *, unsigned long long > > caf::RestorerT< unsigned long long >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<unsigned long *, unsigned long > > caf::RestorerT< unsigned long >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<unsigned int *, unsigned int > > caf::RestorerT< unsigned int >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<unsigned short *, unsigned short > > caf::RestorerT< unsigned short >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<unsigned char *, unsigned char > > caf::RestorerT< unsigned char >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<long long *, long long > > caf::RestorerT< long long >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<long *, long > > caf::RestorerT< long >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<int *, int > > caf::RestorerT< int >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.

std::vector<std::pair<short *, short > > caf::RestorerT< short >::fVals
protectedinherited

Definition at line 321 of file BasicTypesProxy.h.


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