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 222 of file s3d_plugin_idf.cpp.

Constructor & Destructor Documentation

◆ FILE_DATA() [1/3]

FILE_DATA::FILE_DATA ( )
inline

Definition at line 227 of file s3d_plugin_idf.cpp.

228  {
229  extensions[0] = ext0;
230  extensions[1] = ext1;
231  filters[0] = fil0;
232  filters[1] = fil1;
233 
234 #ifndef _WIN32
235  extensions[2] = ext2;
236  extensions[3] = ext3;
237 #endif
238 
239  return;
240  }
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 = { "STEP (*.stp;*.step;*.stpz;*.stp.gz;*.step.gz)|*.stp;*.step;*.stpz;*stp.gz;*.step.gz",
79  "IGES (*.igs;*.iges)|*.igs;*.iges" };
80 #else
81  extensions = { "stp","STP","stpZ","stpz","STPZ","step","STEP","stp.gz","STP.GZ","step.gz","STEP.GZ","igs","IGS","iges","IGES" };
82  filters = { "STEP (*.stp;*.STP;*.stpZ;*.stpz;*.STPZ;*.step;*.STEP;*.stp.gz;*.STP.GZ;*.step.gz;*.STEP.GZ)"
83  "|*.stp;*.STP;*.stpZ;*.stpz;*.STPZ;*.step;*.STEP;*.stp.gz;*.STP.GZ;*.step.gz;*.STEP.GZ",
84  "IGES (*.igs;*.IGS;*.iges;*.IGES)|*.igs;*.IGS;*.iges;*.IGES" };
85 #endif
86  }
char const * extensions[NEXTS]
char const * filters[NFILS]

References extensions, and filters.

◆ FILE_DATA() [3/3]

FILE_DATA::FILE_DATA ( )
inline

Definition at line 88 of file vrml.cpp.

89  {
90 
91 #ifdef _WIN32
92  extensions = { "wrl", "wrz", "x3d" };
93  filters = { "VRML 1.0/2.0 (*.wrl;*.wrz)|*.wrl;*.wrz",
94  "X3D (*.x3d)|*.x3d" };
95 #else
96  extensions = { "wrl", "WRL", "wrz", "WRZ", "x3d", "X3D" };
97  filters = { "VRML 1.0/2.0 (*.wrl;*.WRL;*.wrz;*.WRZ)|*.wrl;*.WRL;*.wrz;*.WRZ",
98  "X3D (*.x3d;*.X3D)|*.x3d;*.X3D" };
99 #endif
100  }
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 224 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 225 of file s3d_plugin_idf.cpp.

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


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