PhoenixHPCProxy  0.8.0
Lightweight HPC proxy
Loading...
Searching...
No Matches
PSource Class Reference

Configuration file which will produce a source and header in C++. More...

#include <PRepr.h>

Public Member Functions

PPath & getName ()
 Gets the name of the PSource.
 
const PPath & getName () const
 Gets the name of the PSource.
 
std::vector< PFunction > & getVecFunction ()
 Gets the vecFunction of the PSource.
 
const std::vector< PFunction > & getVecFunction () const
 Gets the vecFunction of the PSource.
 
PSourceoperator= (const PSource &other)
 Operator = of class PSource.
 
 PSource ()
 Constructor of class PSource.
 
 PSource (const PSource &other)
 Copy Constructor of class PSource.
 
void setName (const PPath &name)
 Sets the name of the PSource.
 
void setVecFunction (const std::vector< PFunction > &vecFunction)
 Sets the vecFunction of the PSource.
 
virtual ~PSource ()
 Destructor of class PSource.
 

Protected Member Functions

void copyPSource (const PSource &other)
 Copy Function of class PSource.
 

Private Attributes

PPath p_name
 Name of the source file (without extention)
 
std::vector< PFunctionp_vecFunction
 Vector of all tables describes in the current PSource.
 

Detailed Description

Configuration file which will produce a source and header in C++.

Definition at line 88 of file PRepr.h.

Constructor & Destructor Documentation

◆ PSource() [1/2]

PSource::PSource ( )

Constructor of class PSource.

Definition at line 295 of file PRepr.cpp.

295 {
296
297}

Referenced by copyPSource(), operator=(), and PSource().

+ Here is the caller graph for this function:

◆ PSource() [2/2]

PSource::PSource ( const PSource & other)

Copy Constructor of class PSource.

Parameters
other: PSource we want ot copy

Definition at line 302 of file PRepr.cpp.

302 {
303 copyPSource(other);
304}
void copyPSource(const PSource &other)
Copy Function of class PSource.
Definition PRepr.cpp:365

References copyPSource(), and PSource().

+ Here is the call graph for this function:

◆ ~PSource()

PSource::~PSource ( )
virtual

Destructor of class PSource.

Definition at line 307 of file PRepr.cpp.

307 {
308
309}

Member Function Documentation

◆ copyPSource()

void PSource::copyPSource ( const PSource & other)
protected

Copy Function of class PSource.

Parameters
other: PSource we want ot copy

Definition at line 365 of file PRepr.cpp.

365 {
366 p_name = other.p_name;
368}
PPath p_name
Name of the source file (without extention)
Definition PRepr.h:104
std::vector< PFunction > p_vecFunction
Vector of all tables describes in the current PSource.
Definition PRepr.h:106

References p_name, p_vecFunction, and PSource().

Referenced by operator=(), and PSource().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getName() [1/2]

PPath & PSource::getName ( )

Gets the name of the PSource.

Returns
name of the PSource

Definition at line 344 of file PRepr.cpp.

344 {
345 return p_name;
346}

References p_name.

◆ getName() [2/2]

const PPath & PSource::getName ( ) const

Gets the name of the PSource.

Returns
name of the PSource

Definition at line 337 of file PRepr.cpp.

337 {
338 return p_name;
339}

References p_name.

Referenced by cpp_backend(), cpp_backendHeader(), and cpp_backendSource().

+ Here is the caller graph for this function:

◆ getVecFunction() [1/2]

std::vector< PFunction > & PSource::getVecFunction ( )

Gets the vecFunction of the PSource.

Returns
vecFunction of the PSource

Definition at line 358 of file PRepr.cpp.

358 {
359 return p_vecFunction;
360}

References p_vecFunction.

◆ getVecFunction() [2/2]

const std::vector< PFunction > & PSource::getVecFunction ( ) const

Gets the vecFunction of the PSource.

Returns
vecFunction of the PSource

Definition at line 351 of file PRepr.cpp.

351 {
352 return p_vecFunction;
353}

References p_vecFunction.

Referenced by cpp_backendHeader(), and cpp_backendSource().

+ Here is the caller graph for this function:

◆ operator=()

PSource & PSource::operator= ( const PSource & other)

Operator = of class PSource.

Parameters
other: PSource we want ot copy
Returns
copied class PSource

Definition at line 315 of file PRepr.cpp.

315 {
316 copyPSource(other);
317 return *this;
318}

References copyPSource(), and PSource().

+ Here is the call graph for this function:

◆ setName()

void PSource::setName ( const PPath & name)

Sets the name of the PSource.

Parameters
name: name of the PSource

Definition at line 323 of file PRepr.cpp.

323 {
324 p_name = name;
325}

References p_name.

◆ setVecFunction()

void PSource::setVecFunction ( const std::vector< PFunction > & vecFunction)

Sets the vecFunction of the PSource.

Parameters
vecFunction: vecFunction of the PSource

Definition at line 330 of file PRepr.cpp.

330 {
331 p_vecFunction = vecFunction;
332}

References p_vecFunction.

Member Data Documentation

◆ p_name

PPath PSource::p_name
private

Name of the source file (without extention)

Definition at line 104 of file PRepr.h.

Referenced by copyPSource(), getName(), getName(), and setName().

◆ p_vecFunction

std::vector<PFunction> PSource::p_vecFunction
private

Vector of all tables describes in the current PSource.

Definition at line 106 of file PRepr.h.

Referenced by copyPSource(), getVecFunction(), getVecFunction(), and setVecFunction().


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