PhoenixLecture  2.0.0
Set of tools to make lectures
PLatexEnv Class Reference

Describe a latex environement. More...

#include <PLatexObj.h>

+ Collaboration diagram for PLatexEnv:

Public Member Functions

PLatexObjgetBegin ()
 Gets the begin of the PLatexEnv. More...
 
const PLatexObjgetBegin () const
 Gets the begin of the PLatexEnv. More...
 
PLatexObjgetEnd ()
 Gets the end of the PLatexEnv. More...
 
const PLatexObjgetEnd () const
 Gets the end of the PLatexEnv. More...
 
PStringgetName ()
 Gets the name of the PLatexEnv. More...
 
const PStringgetName () const
 Gets the name of the PLatexEnv. More...
 
PLatexEnvoperator= (const PLatexEnv &other)
 Operator = of class PLatexEnv. More...
 
 PLatexEnv ()
 Constructor of class PLatexEnv. More...
 
 PLatexEnv (const PLatexEnv &other)
 Copy Constructor of class PLatexEnv. More...
 
void setBegin (const PLatexObj &begin)
 Sets the begin of the PLatexEnv. More...
 
void setEnd (const PLatexObj &end)
 Sets the end of the PLatexEnv. More...
 
void setName (const PString &name)
 Sets the name of the PLatexEnv. More...
 
virtual ~PLatexEnv ()
 Destructor of class PLatexEnv. More...
 

Protected Member Functions

void copyPLatexEnv (const PLatexEnv &other)
 Copy Function of class PLatexEnv. More...
 

Private Member Functions

void initialisationPLatexEnv ()
 Initialisation Function of class PLatexEnv. More...
 

Private Attributes

PLatexObj p_begin
 Begining of the environement. More...
 
PLatexObj p_end
 Ending of the environement. More...
 
PString p_name
 Name of the environement. More...
 

Detailed Description

Describe a latex environement.

Definition at line 244 of file PLatexObj.h.

Constructor & Destructor Documentation

◆ PLatexEnv() [1/2]

PLatexEnv::PLatexEnv ( )

Constructor of class PLatexEnv.

Definition at line 951 of file PLatexObj.cpp.

951  {
953 }
void initialisationPLatexEnv()
Initialisation Function of class PLatexEnv.
Definition: PLatexObj.cpp:1049

References initialisationPLatexEnv().

+ Here is the call graph for this function:

◆ PLatexEnv() [2/2]

PLatexEnv::PLatexEnv ( const PLatexEnv other)

Copy Constructor of class PLatexEnv.

Parameters
other: PLatexEnv we want ot copy

Definition at line 958 of file PLatexObj.cpp.

958  {
959  copyPLatexEnv(other);
960 }
void copyPLatexEnv(const PLatexEnv &other)
Copy Function of class PLatexEnv.
Definition: PLatexObj.cpp:1042

References copyPLatexEnv().

+ Here is the call graph for this function:

◆ ~PLatexEnv()

PLatexEnv::~PLatexEnv ( )
virtual

Destructor of class PLatexEnv.

Definition at line 963 of file PLatexObj.cpp.

963  {
964 
965 }

Member Function Documentation

◆ copyPLatexEnv()

void PLatexEnv::copyPLatexEnv ( const PLatexEnv other)
protected

Copy Function of class PLatexEnv.

Parameters
other: PLatexEnv we want ot copy

Definition at line 1042 of file PLatexObj.cpp.

1042  {
1043  p_name = other.p_name;
1044  p_begin = other.p_begin;
1045  p_end = other.p_end;
1046 }
PLatexObj p_end
Ending of the environement.
Definition: PLatexObj.h:268
PLatexObj p_begin
Begining of the environement.
Definition: PLatexObj.h:266
PString p_name
Name of the environement.
Definition: PLatexObj.h:264

References p_begin, p_end, and p_name.

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

+ Here is the caller graph for this function:

◆ getBegin() [1/2]

PLatexObj & PLatexEnv::getBegin ( )

Gets the begin of the PLatexEnv.

Returns
begin of the PLatexEnv

Definition at line 1021 of file PLatexObj.cpp.

1021  {
1022  return p_begin;
1023 }

References p_begin.

◆ getBegin() [2/2]

const PLatexObj & PLatexEnv::getBegin ( ) const

Gets the begin of the PLatexEnv.

Returns
begin of the PLatexEnv

Definition at line 1014 of file PLatexObj.cpp.

1014  {
1015  return p_begin;
1016 }

References p_begin.

◆ getEnd() [1/2]

PLatexObj & PLatexEnv::getEnd ( )

Gets the end of the PLatexEnv.

Returns
end of the PLatexEnv

Definition at line 1035 of file PLatexObj.cpp.

1035  {
1036  return p_end;
1037 }

References p_end.

◆ getEnd() [2/2]

const PLatexObj & PLatexEnv::getEnd ( ) const

Gets the end of the PLatexEnv.

Returns
end of the PLatexEnv

Definition at line 1028 of file PLatexObj.cpp.

1028  {
1029  return p_end;
1030 }

References p_end.

◆ getName() [1/2]

PString & PLatexEnv::getName ( )

Gets the name of the PLatexEnv.

Returns
name of the PLatexEnv

Definition at line 1007 of file PLatexObj.cpp.

1007  {
1008  return p_name;
1009 }

References p_name.

◆ getName() [2/2]

const PString & PLatexEnv::getName ( ) const

Gets the name of the PLatexEnv.

Returns
name of the PLatexEnv

Definition at line 1000 of file PLatexObj.cpp.

1000  {
1001  return p_name;
1002 }

References p_name.

◆ initialisationPLatexEnv()

void PLatexEnv::initialisationPLatexEnv ( )
private

Initialisation Function of class PLatexEnv.

Definition at line 1049 of file PLatexObj.cpp.

1049  {
1050  p_name = "";
1051 }

References p_name.

Referenced by PLatexEnv().

+ Here is the caller graph for this function:

◆ operator=()

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

Operator = of class PLatexEnv.

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

Definition at line 971 of file PLatexObj.cpp.

971  {
972  copyPLatexEnv(other);
973  return *this;
974 }

References copyPLatexEnv().

+ Here is the call graph for this function:

◆ setBegin()

void PLatexEnv::setBegin ( const PLatexObj begin)

Sets the begin of the PLatexEnv.

Parameters
begin: begin of the PLatexEnv

Definition at line 986 of file PLatexObj.cpp.

986  {
987  p_begin = begin;
988 }

References p_begin.

◆ setEnd()

void PLatexEnv::setEnd ( const PLatexObj end)

Sets the end of the PLatexEnv.

Parameters
end: end of the PLatexEnv

Definition at line 993 of file PLatexObj.cpp.

993  {
994  p_end = end;
995 }

References p_end.

◆ setName()

void PLatexEnv::setName ( const PString name)

Sets the name of the PLatexEnv.

Parameters
name: name of the PLatexEnv

Definition at line 979 of file PLatexObj.cpp.

979  {
980  p_name = name;
981 }

References p_name.

Member Data Documentation

◆ p_begin

PLatexObj PLatexEnv::p_begin
private

Begining of the environement.

Definition at line 266 of file PLatexObj.h.

Referenced by copyPLatexEnv(), getBegin(), and setBegin().

◆ p_end

PLatexObj PLatexEnv::p_end
private

Ending of the environement.

Definition at line 268 of file PLatexObj.h.

Referenced by copyPLatexEnv(), getEnd(), and setEnd().

◆ p_name

PString PLatexEnv::p_name
private

Name of the environement.

Definition at line 264 of file PLatexObj.h.

Referenced by copyPLatexEnv(), getName(), initialisationPLatexEnv(), and setName().


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