gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
CreateFile.h File Reference
#include <string>
Include dependency graph for CreateFile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GetFileFormatFromExtension (const std::string &fileName, double *version=nullptr)
 
int GuessFileFormatFromFileName (const std::string &fileName, double *version=nullptr)
 
std::string GetDefaultFileExtension (int format, bool onlyMeshFormats=false)
 
std::string GetDefaultFileName (int format)
 
std::string GetKnownFileFormats (bool onlyMeshFormats=false)
 
void CreateOutputFile (const std::string &fileName, int format, bool status=true)
 

Function Documentation

◆ CreateOutputFile()

void CreateOutputFile ( const std::string &  fileName,
int  format,
bool  status = true 
)

Definition at line 290 of file CreateFile.cpp.

Referenced by CreateOutputFile(), GetMeshOption(), GmshBatch(), GmshWriteFile(), and GModel::save().

Here is the caller graph for this function:

◆ GetDefaultFileExtension()

std::string GetDefaultFileExtension ( int  format,
bool  onlyMeshFormats = false 
)

Definition at line 107 of file CreateFile.cpp.

Referenced by GetDefaultFileName(), and GetKnownFileFormats().

Here is the caller graph for this function:

◆ GetDefaultFileName()

std::string GetDefaultFileName ( int  format)

Definition at line 165 of file CreateFile.cpp.

Referenced by CreateOutputFile(), and GmshBatch().

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

◆ GetFileFormatFromExtension()

int GetFileFormatFromExtension ( const std::string &  fileName,
double *  version = nullptr 
)

Definition at line 34 of file CreateFile.cpp.

Referenced by GetMeshOption(), and GuessFileFormatFromFileName().

Here is the caller graph for this function:

◆ GetKnownFileFormats()

std::string GetKnownFileFormats ( bool  onlyMeshFormats = false)

Definition at line 173 of file CreateFile.cpp.

Referenced by GetUsage().

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

◆ GuessFileFormatFromFileName()

int GuessFileFormatFromFileName ( const std::string &  fileName,
double *  version = nullptr 
)

Definition at line 101 of file CreateFile.cpp.

Referenced by CreateOutputFile().

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