![]() |
Computer Assited Medical Intervention Tool Kit
version 3.4
|
TODO Celine comment here please. More...
#include <CepGenerator.h>
Static Public Member Functions | |
| static bool | generateCEP (QString xmlFileName, QString devDirectoryName) |
| Supposes that the CEP does NOT exist. More... | |
| static bool | generateCEP (std::auto_ptr< cepcoreschema::Cep > domCep, QString devDirectoryName) |
| Supposes that the CEP does NOT exist. More... | |
Protected Member Functions | |
| CepGenerator (QString xmlFilename, QString devDirectoryName) | |
| CepGenerator (std::auto_ptr< cepcoreschema::Cep > domCep, QString devDirectoryName) | |
| virtual void | createActionExtensionDoms () |
| virtual void | createComponentExtensionDoms () |
| virtual void | createLibrarieDoms () |
| virtual void | generateDirectoryTree () throw (QString) |
| Create the general directory tree (the same for every CEP) Copies the default files in the right directories: More... | |
| virtual void | generateExtensions () |
| virtual void | setDevDirectoryName (QString devDirectoryName) throw (QString) |
| Where to generate the CEP directories and files. More... | |
| virtual void | setXmlFileName (QString xmlFileName) throw (QString) |
| Set the input XML CEP manifest (ant check its xml validity) More... | |
| ~CepGenerator () | |
| virtual void | serializeManifest () |
| virtual void | generateGlobalCMakeLists () |
| virtual void | generateCopyright () |
| virtual void | generateReadme () |
| virtual void | copyFindCamiTK () |
| virtual void | generateActionsDirectory () |
| virtual void | generateApplicationsDirectory () |
| virtual void | generateComponentsDirectory () |
| virtual void | generateLibrariesDirectory () |
| virtual void | setLicence () |
Private Member Functions | |
| virtual void | createDomTree () throw (QString) |
| Create the DOM attribute domCep from the XML CEP manifest. More... | |
Private Attributes | |
| QString | cepDirectoryName |
| Subdirectory where the CEP sources will be stored (updated when generating the directory tree) More... | |
| QDir | devDirectoryName |
| Where to store the produced files. More... | |
| std::auto_ptr< cepcoreschema::Cep > | domCep |
| XML DOM Element create by CodeSynthesis This cep instance contains all of the informations of the xml file. More... | |
| QVector< ExtensionGenerator * > | extensions |
| Action or Component Extensions. More... | |
| QString | licence |
| Action Extensions. More... | |
| QFileInfo | xmlFileName |
| Where to find the original XML description of the CEP. More... | |
TODO Celine comment here please.
|
protected |
References initMyResource().
|
protected |
References initMyResource().
|
protected |
|
protectedvirtual |
|
protectedvirtual |
References cepActionsDirectoryName.
Referenced by generateCEP().
|
protectedvirtual |
References cepComponentsDirectoryName.
Referenced by generateCEP().
|
privatevirtual | |||||||||||||
Create the DOM attribute domCep from the XML CEP manifest.
Referenced by generateCEP().
|
protectedvirtual |
References cepLibrariesDirectoryName.
Referenced by generateCEP().
|
protectedvirtual |
References cepActionsDirectoryName.
|
protectedvirtual |
References cepApplicationsDirectoryName.
|
static |
Supposes that the CEP does NOT exist.
References createActionExtensionDoms(), createComponentExtensionDoms(), createDomTree(), createLibrarieDoms(), generateDirectoryTree(), and generateExtensions().
Referenced by main(), and GeneratingCEPState::onEntry().
|
static |
Supposes that the CEP does NOT exist.
References createActionExtensionDoms(), createComponentExtensionDoms(), createLibrarieDoms(), generateDirectoryTree(), and generateExtensions().
|
protectedvirtual |
References cepComponentsDirectoryName.
|
protectedvirtual |
|
protectedvirtual | |||||||||||||
Create the general directory tree (the same for every CEP) Copies the default files in the right directories:
cepdirectoryname | +— actions | -— CMakeLists.txt --— CMakeLists.txt +— components | -— CMakeLists.txt -— COPYRIGHT -— FindCamiTK.cmake +— libraries | — CMakeLists.txt -— Manifest.xml -— README
References ClassNameHandler::getDirectoryName().
Referenced by generateCEP().
|
protectedvirtual |
References c.
Referenced by generateCEP().
|
protectedvirtual |
|
protectedvirtual |
References cepLibrariesDirectoryName.
|
protectedvirtual |
|
protectedvirtual |
Helping Functions for generateDirectoryTree
References cepManifestExtension, cepManifestName, and cepSchemaNamespace.
|
protectedvirtual | ||||||||||||||
Where to generate the CEP directories and files.
|
protectedvirtual |
|
protectedvirtual | ||||||||||||||
Set the input XML CEP manifest (ant check its xml validity)
|
private |
Subdirectory where the CEP sources will be stored (updated when generating the directory tree)
|
private |
Where to store the produced files.
|
private |
XML DOM Element create by CodeSynthesis This cep instance contains all of the informations of the xml file.
|
private |
Action or Component Extensions.
|
private |
Action Extensions.
Component Extensions
|
private |
Where to find the original XML description of the CEP.
1.8.8