PhoenixLecture  2.0.0
Set of tools to make lectures
PLatexFunc Class Reference

Describe a latex function. More...

#include <PLatexObj.h>

+ Collaboration diagram for PLatexFunc:

Public Member Functions

PLatexObjgetContent ()
 Gets the content of the PLatexFunc. More...
 
const PLatexObjgetContent () const
 Gets the content of the PLatexFunc. More...
 
PStringgetName ()
 Gets the name of the PLatexFunc. More...
 
const PStringgetName () const
 Gets the name of the PLatexFunc. More...
 
std::vector< PString > & getVecParam ()
 Gets the vecParam of the PLatexFunc. More...
 
const std::vector< PString > & getVecParam () const
 Gets the vecParam of the PLatexFunc. More...
 
PLatexFuncoperator= (const PLatexFunc &other)
 Operator = of class PLatexFunc. More...
 
 PLatexFunc ()
 Constructor of class PLatexFunc. More...
 
 PLatexFunc (const PLatexFunc &other)
 Copy Constructor of class PLatexFunc. More...
 
void setContent (const PLatexObj &content)
 Sets the content of the PLatexFunc. More...
 
void setName (const PString &name)
 Sets the name of the PLatexFunc. More...
 
void setVecParam (const std::vector< PString > &vecParam)
 Sets the vecParam of the PLatexFunc. More...
 
virtual ~PLatexFunc ()
 Destructor of class PLatexFunc. More...
 

Protected Member Functions

void copyPLatexFunc (const PLatexFunc &other)
 Copy Function of class PLatexFunc. More...
 

Private Member Functions

void initialisationPLatexFunc ()
 Initialisation Function of class PLatexFunc. More...
 

Private Attributes

PLatexObj p_content
 Content of the function. More...
 
PString p_name
 Name of the function. More...
 
std::vector< PStringp_vecParam
 Vector of parameters. More...
 

Detailed Description

Describe a latex function.

Definition at line 216 of file PLatexObj.h.

Constructor & Destructor Documentation

◆ PLatexFunc() [1/2]

PLatexFunc::PLatexFunc ( )

Constructor of class PLatexFunc.

Definition at line 848 of file PLatexObj.cpp.

848  {
850 }
void initialisationPLatexFunc()
Initialisation Function of class PLatexFunc.
Definition: PLatexObj.cpp:946

References initialisationPLatexFunc().

+ Here is the call graph for this function:

◆ PLatexFunc() [2/2]

PLatexFunc::PLatexFunc ( const PLatexFunc other)

Copy Constructor of class PLatexFunc.

Parameters
other: PLatexFunc we want ot copy

Definition at line 855 of file PLatexObj.cpp.

855  {
856  copyPLatexFunc(other);
857 }
void copyPLatexFunc(const PLatexFunc &other)
Copy Function of class PLatexFunc.
Definition: PLatexObj.cpp:939

References copyPLatexFunc().

+ Here is the call graph for this function:

◆ ~PLatexFunc()

PLatexFunc::~PLatexFunc ( )
virtual

Destructor of class PLatexFunc.

Definition at line 860 of file PLatexObj.cpp.

860  {
861 
862 }

Member Function Documentation

◆ copyPLatexFunc()

void PLatexFunc::copyPLatexFunc ( const PLatexFunc other)
protected

Copy Function of class PLatexFunc.

Parameters
other: PLatexFunc we want ot copy

Definition at line 939 of file PLatexObj.cpp.

939  {
940  p_name = other.p_name;
941  p_vecParam = other.p_vecParam;
942  p_content = other.p_content;
943 }
std::vector< PString > p_vecParam
Vector of parameters.
Definition: PLatexObj.h:238
PLatexObj p_content
Content of the function.
Definition: PLatexObj.h:240
PString p_name
Name of the function.
Definition: PLatexObj.h:236

References p_content, p_name, and p_vecParam.

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

+ Here is the caller graph for this function:

◆ getContent() [1/2]

PLatexObj & PLatexFunc::getContent ( )

Gets the content of the PLatexFunc.

Returns
content of the PLatexFunc

Definition at line 932 of file PLatexObj.cpp.

932  {
933  return p_content;
934 }

References p_content.

◆ getContent() [2/2]

const PLatexObj & PLatexFunc::getContent ( ) const

Gets the content of the PLatexFunc.

Returns
content of the PLatexFunc

Definition at line 925 of file PLatexObj.cpp.

925  {
926  return p_content;
927 }

References p_content.

◆ getName() [1/2]

PString & PLatexFunc::getName ( )

Gets the name of the PLatexFunc.

Returns
name of the PLatexFunc

Definition at line 904 of file PLatexObj.cpp.

904  {
905  return p_name;
906 }

References p_name.

◆ getName() [2/2]

const PString & PLatexFunc::getName ( ) const

Gets the name of the PLatexFunc.

Returns
name of the PLatexFunc

Definition at line 897 of file PLatexObj.cpp.

897  {
898  return p_name;
899 }

References p_name.

◆ getVecParam() [1/2]

std::vector< PString > & PLatexFunc::getVecParam ( )

Gets the vecParam of the PLatexFunc.

Returns
vecParam of the PLatexFunc

Definition at line 918 of file PLatexObj.cpp.

918  {
919  return p_vecParam;
920 }

References p_vecParam.

◆ getVecParam() [2/2]

const std::vector< PString > & PLatexFunc::getVecParam ( ) const

Gets the vecParam of the PLatexFunc.

Returns
vecParam of the PLatexFunc

Definition at line 911 of file PLatexObj.cpp.

911  {
912  return p_vecParam;
913 }

References p_vecParam.

◆ initialisationPLatexFunc()

void PLatexFunc::initialisationPLatexFunc ( )
private

Initialisation Function of class PLatexFunc.

Definition at line 946 of file PLatexObj.cpp.

946  {
947  p_name = "";
948 }

References p_name.

Referenced by PLatexFunc().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PLatexFunc.

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

Definition at line 868 of file PLatexObj.cpp.

868  {
869  copyPLatexFunc(other);
870  return *this;
871 }

References copyPLatexFunc().

+ Here is the call graph for this function:

◆ setContent()

void PLatexFunc::setContent ( const PLatexObj content)

Sets the content of the PLatexFunc.

Parameters
content: content of the PLatexFunc

Definition at line 890 of file PLatexObj.cpp.

890  {
891  p_content = content;
892 }

References p_content.

◆ setName()

void PLatexFunc::setName ( const PString name)

Sets the name of the PLatexFunc.

Parameters
name: name of the PLatexFunc

Definition at line 876 of file PLatexObj.cpp.

876  {
877  p_name = name;
878 }

References p_name.

◆ setVecParam()

void PLatexFunc::setVecParam ( const std::vector< PString > &  vecParam)

Sets the vecParam of the PLatexFunc.

Parameters
vecParam: vecParam of the PLatexFunc

Definition at line 883 of file PLatexObj.cpp.

883  {
884  p_vecParam = vecParam;
885 }

References p_vecParam.

Member Data Documentation

◆ p_content

PLatexObj PLatexFunc::p_content
private

Content of the function.

Definition at line 240 of file PLatexObj.h.

Referenced by copyPLatexFunc(), getContent(), and setContent().

◆ p_name

PString PLatexFunc::p_name
private

Name of the function.

Definition at line 236 of file PLatexObj.h.

Referenced by copyPLatexFunc(), getName(), initialisationPLatexFunc(), and setName().

◆ p_vecParam

std::vector<PString> PLatexFunc::p_vecParam
private

Vector of parameters.

Definition at line 238 of file PLatexObj.h.

Referenced by copyPLatexFunc(), getVecParam(), and setVecParam().


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