KiCad PCB EDA Suite
FILE_DATA Struct Reference

Public Member Functions

 FILE_DATA ()
 
 FILE_DATA ()
 
 FILE_DATA ()
 

Public Attributes

char const * extensions [NEXTS]
 
char const * filters [NFILS]
 
std::vector< std::string > extensions
 
std::vector< std::string > filters
 

Detailed Description

Definition at line 246 of file s3d_plugin_idf.cpp.

Constructor & Destructor Documentation

◆ FILE_DATA() [1/3]

FILE_DATA::FILE_DATA ( )
inline

Definition at line 251 of file s3d_plugin_idf.cpp.

252  {
253  extensions[0] = ext0;
254  extensions[1] = ext1;
255  filters[0] = fil0;
256  filters[1] = fil1;
257 
258 #ifndef _WIN32
259  extensions[2] = ext2;
260  extensions[3] = ext3;
261 #endif
262  }
static char ext3[]
static char ext0[]
char const * extensions[NEXTS]
static char fil1[]
static char ext1[]
static char ext2[]
static char fil0[]
char const * filters[NFILS]

References ext0, ext1, ext2, ext3, extensions, fil0, fil1, and filters.

◆ FILE_DATA() [2/3]

FILE_DATA::FILE_DATA ( )
inline

Definition at line 74 of file oce.cpp.

75  {
76 #ifdef _WIN32
77  extensions = { "stp","step","stpz","stp.gz","step.gz","igs","iges" };
78  filters = {
79  "STEP (*.stp;*.step;*.stpz;*.stp.gz;*.step.gz)|*.stp;*.step;*.stpz;*stp.gz;*.step.gz",
80  "IGES (*.igs;*.iges)|*.igs;*.iges" };
81 #else
82  extensions = {
83  "stp","STP","stpZ","stpz","STPZ","step","STEP","stp.gz","STP.GZ","step.gz","STEP.GZ",
84  "igs","IGS","iges","IGES"
85  };
86 
87  filters = {
88  "STEP (*.stp;*.STP;*.stpZ;*.stpz;*.STPZ;*.step;*.STEP;*.stp.gz;*.STP.GZ;*.step.gz;"
89  "*.STEP.GZ)|*.stp;*.STP;*.stpZ;*.stpz;*.STPZ;*.step;*.STEP;*.stp.gz;*.STP.GZ;"
90  "*.step.gz;*.STEP.GZ",
91  "IGES (*.igs;*.IGS;*.iges;*.IGES)|*.igs;*.IGS;*.iges;*.IGES"
92  };
93 #endif
94  }
char const * extensions[NEXTS]
char const * filters[NFILS]

References extensions, and filters.

◆ FILE_DATA() [3/3]

FILE_DATA::FILE_DATA ( )
inline

Definition at line 96 of file vrml.cpp.

97  {
98 
99 #ifdef _WIN32
100  extensions = { "wrl", "wrz", "x3d" };
101  filters = { "VRML 1.0/2.0 (*.wrl;*.wrz)|*.wrl;*.wrz",
102  "X3D (*.x3d)|*.x3d" };
103 #else
104  extensions = { "wrl", "WRL", "wrz", "WRZ", "x3d", "X3D" };
105  filters = { "VRML 1.0/2.0 (*.wrl;*.WRL;*.wrz;*.WRZ)|*.wrl;*.WRL;*.wrz;*.WRZ",
106  "X3D (*.x3d;*.X3D)|*.x3d;*.X3D" };
107 #endif
108  }
char const * extensions[NEXTS]
char const * filters[NFILS]

References extensions, and filters.

Member Data Documentation

◆ extensions [1/2]

std::vector<std::string> FILE_DATA::extensions

Definition at line 71 of file oce.cpp.

◆ extensions [2/2]

std::vector< std::string > FILE_DATA::extensions

Definition at line 248 of file s3d_plugin_idf.cpp.

Referenced by FILE_DATA(), GetModelExtension(), and GetNExtensions().

◆ filters [1/2]

std::vector<std::string> FILE_DATA::filters

Definition at line 72 of file oce.cpp.

◆ filters [2/2]

std::vector< std::string > FILE_DATA::filters

Definition at line 249 of file s3d_plugin_idf.cpp.

Referenced by FILE_DATA(), GetFileFilter(), and GetNFilters().


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