flxinstall.cpp File Reference
#include <string>
#include <set>
#include <cctype>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
#include "corefaudes.h"

Go to the source code of this file.

Functions

void usage_exit (const std::string &rMessage="")
 
void MakeDirectory (const std::string &rPath, const std::string &rDir="")
 
std::set< std::string > EraseHiddenFiles (const std::set< std::string > &src)
 
void Lua2ref (const std::string &rLuaFile, const std::string &rRefFile="")
 
void Gen2ref (const std::string &rGenFile, const std::string &rRefFile="")
 
void InsertSection (TokenReader &rTr, TokenWriter &rTw, const std::string &mLabel)
 
void InsertReferencePage (TokenReader &rTr, TokenWriter &rTw, const std::string mSection="")
 
void InsertLuaFunction (TokenReader &rTr, TokenWriter &rTw)
 
void InsertPlainLuaTutorial (TokenReader &rTr, TokenWriter &rTw)
 
void InsertLuaTutorial (TokenReader &rTr, TokenWriter &rTw)
 
void InsertImageFile (TokenReader &rTr, TokenWriter &rTw)
 
void InsertDataFile (TokenReader &rTr, TokenWriter &rTw)
 
void CreateExtensionFile (void)
 
void TestLuafaudes (void)
 
void TestFaudesTarget (void)
 
void XtractReferencePages (TokenReader &rTr, const std::string &rDstDir)
 
void XtractImageFiles (TokenReader &rTr, const std::string &rDstDir)
 
void XtractImageGenFiles (TokenReader &rTr, const std::string &rDstDir)
 
void XtractLuaFunctions (TokenReader &rTr, TokenWriter &rTw)
 
void XtractLuaTutorials (TokenReader &rTr, const std::string &rDstDir)
 
void DefaultIndexPage (const std::string &rDstDir)
 
void InstallExtensionFiles (void)
 
void ExtractExtensionFile (void)
 
void RunTestCases ()
 
int main (int argc, char *argv[])
 

Variables

std::string mXmlSeparator = "<!-- ================================================================================ -->"
 
std::set< std::string > mSourceFiles
 
std::string mSourceFile
 
std::string mTarget
 
std::string mExtensionName
 
std::set< std::string > mReferencePages
 
std::set< std::string > mGeneratorFiles
 
std::set< std::string > mImageFiles
 
std::set< std::string > mLuaFunctions
 
std::string mFaudesBase
 
std::string mFaudesBin
 
std::string mFaudesBinLuafaudes
 
std::string mFaudesBinLuaflx
 
std::string mFaudesBinRef2html
 
bool mFaudesStandalone = false
 
std::string mFaudesBinLua2ref
 
std::string mFaudesDoc
 
std::string mFaudesDocCss
 
std::string mFaudesDocToc
 
std::string mFaudesDocNav
 
std::string mFaudesDocRti
 
std::string mFaudesDocReference
 
std::string mFaudesDocLuafaudes
 
std::string mFaudesDocImages
 
std::string mFaudesDocRefsrc
 
std::string mFaudesDocTemp
 

Function Documentation

◆ CreateExtensionFile()

void CreateExtensionFile ( void  )

Definition at line 396 of file flxinstall.cpp.

◆ DefaultIndexPage()

void DefaultIndexPage ( const std::string &  rDstDir)

Definition at line 1136 of file flxinstall.cpp.

◆ EraseHiddenFiles()

std::set< std::string > EraseHiddenFiles ( const std::set< std::string > &  src)

Definition at line 124 of file flxinstall.cpp.

◆ ExtractExtensionFile()

void ExtractExtensionFile ( void  )

Definition at line 1514 of file flxinstall.cpp.

◆ Gen2ref()

void Gen2ref ( const std::string &  rGenFile,
const std::string &  rRefFile = "" 
)

Definition at line 167 of file flxinstall.cpp.

◆ InsertDataFile()

void InsertDataFile ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 354 of file flxinstall.cpp.

◆ InsertImageFile()

void InsertImageFile ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 318 of file flxinstall.cpp.

◆ InsertLuaFunction()

void InsertLuaFunction ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 255 of file flxinstall.cpp.

◆ InsertLuaTutorial()

void InsertLuaTutorial ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 282 of file flxinstall.cpp.

◆ InsertPlainLuaTutorial()

void InsertPlainLuaTutorial ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 273 of file flxinstall.cpp.

◆ InsertReferencePage()

void InsertReferencePage ( TokenReader rTr,
TokenWriter rTw,
const std::string  mSection = "" 
)

Definition at line 233 of file flxinstall.cpp.

◆ InsertSection()

void InsertSection ( TokenReader rTr,
TokenWriter rTw,
const std::string &  mLabel 
)

Definition at line 218 of file flxinstall.cpp.

◆ InstallExtensionFiles()

void InstallExtensionFiles ( void  )

Definition at line 1175 of file flxinstall.cpp.

◆ Lua2ref()

void Lua2ref ( const std::string &  rLuaFile,
const std::string &  rRefFile = "" 
)

Definition at line 140 of file flxinstall.cpp.

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 1723 of file flxinstall.cpp.

◆ MakeDirectory()

void MakeDirectory ( const std::string &  rPath,
const std::string &  rDir = "" 
)

Definition at line 110 of file flxinstall.cpp.

◆ RunTestCases()

void RunTestCases ( )

Definition at line 1691 of file flxinstall.cpp.

◆ TestFaudesTarget()

void TestFaudesTarget ( void  )

Definition at line 662 of file flxinstall.cpp.

◆ TestLuafaudes()

void TestLuafaudes ( void  )

Definition at line 640 of file flxinstall.cpp.

◆ usage_exit()

void usage_exit ( const std::string &  rMessage = "")

Definition at line 39 of file flxinstall.cpp.

◆ XtractImageFiles()

void XtractImageFiles ( TokenReader rTr,
const std::string &  rDstDir 
)

Definition at line 883 of file flxinstall.cpp.

◆ XtractImageGenFiles()

void XtractImageGenFiles ( TokenReader rTr,
const std::string &  rDstDir 
)

Definition at line 951 of file flxinstall.cpp.

◆ XtractLuaFunctions()

void XtractLuaFunctions ( TokenReader rTr,
TokenWriter rTw 
)

Definition at line 1026 of file flxinstall.cpp.

◆ XtractLuaTutorials()

void XtractLuaTutorials ( TokenReader rTr,
const std::string &  rDstDir 
)

Definition at line 1092 of file flxinstall.cpp.

◆ XtractReferencePages()

void XtractReferencePages ( TokenReader rTr,
const std::string &  rDstDir 
)

Definition at line 810 of file flxinstall.cpp.

Variable Documentation

◆ mExtensionName

std::string mExtensionName

Definition at line 77 of file flxinstall.cpp.

◆ mFaudesBase

std::string mFaudesBase

Definition at line 85 of file flxinstall.cpp.

◆ mFaudesBin

std::string mFaudesBin

Definition at line 86 of file flxinstall.cpp.

◆ mFaudesBinLua2ref

std::string mFaudesBinLua2ref

Definition at line 91 of file flxinstall.cpp.

◆ mFaudesBinLuafaudes

std::string mFaudesBinLuafaudes

Definition at line 87 of file flxinstall.cpp.

◆ mFaudesBinLuaflx

std::string mFaudesBinLuaflx

Definition at line 88 of file flxinstall.cpp.

◆ mFaudesBinRef2html

std::string mFaudesBinRef2html

Definition at line 89 of file flxinstall.cpp.

◆ mFaudesDoc

std::string mFaudesDoc

Definition at line 92 of file flxinstall.cpp.

◆ mFaudesDocCss

std::string mFaudesDocCss

Definition at line 93 of file flxinstall.cpp.

◆ mFaudesDocImages

std::string mFaudesDocImages

Definition at line 99 of file flxinstall.cpp.

◆ mFaudesDocLuafaudes

std::string mFaudesDocLuafaudes

Definition at line 98 of file flxinstall.cpp.

◆ mFaudesDocNav

std::string mFaudesDocNav

Definition at line 95 of file flxinstall.cpp.

◆ mFaudesDocReference

std::string mFaudesDocReference

Definition at line 97 of file flxinstall.cpp.

◆ mFaudesDocRefsrc

std::string mFaudesDocRefsrc

Definition at line 100 of file flxinstall.cpp.

◆ mFaudesDocRti

std::string mFaudesDocRti

Definition at line 96 of file flxinstall.cpp.

◆ mFaudesDocTemp

std::string mFaudesDocTemp

Definition at line 101 of file flxinstall.cpp.

◆ mFaudesDocToc

std::string mFaudesDocToc

Definition at line 94 of file flxinstall.cpp.

◆ mFaudesStandalone

bool mFaudesStandalone = false

Definition at line 90 of file flxinstall.cpp.

◆ mGeneratorFiles

std::set< std::string > mGeneratorFiles

Definition at line 79 of file flxinstall.cpp.

◆ mImageFiles

std::set< std::string > mImageFiles

Definition at line 80 of file flxinstall.cpp.

◆ mLuaFunctions

std::set< std::string > mLuaFunctions

Definition at line 81 of file flxinstall.cpp.

◆ mReferencePages

std::set< std::string > mReferencePages

Definition at line 78 of file flxinstall.cpp.

◆ mSourceFile

std::string mSourceFile

Definition at line 75 of file flxinstall.cpp.

◆ mSourceFiles

std::set< std::string > mSourceFiles

Definition at line 74 of file flxinstall.cpp.

◆ mTarget

std::string mTarget

Definition at line 76 of file flxinstall.cpp.

◆ mXmlSeparator

std::string mXmlSeparator = "<!-- ================================================================================ -->"

Definition at line 70 of file flxinstall.cpp.

libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen