FormIt C++ API  v23.0.0 (2023.0.0)
FormIt::Files Namespace Reference

Classes

struct  FileOptions
 FormIt::Files::FileOptions struct. More...
 
class  FileOptionsList
 FormIt::Files::FileOptionsList class. More...
 

Enumerations

enum  Action { Action::Open = 0, Action::Save = 1, Action::Export = 2, Action::Import = 3 }
 A file action refers to Open/Save/Export a type of FormIt::Files::ContentType enum class. More...
 
enum  ContentType { ContentType::Type_Image = 0, ContentType::Type_3DModel = 1, ContentType::Type_Movie = 2 }
 Content of the file. More...
 
enum  Types {
  Types::AXM = 0, Types::AXMF = 1, Types::AXMB = 2, Types::FBX = 3,
  Types::OBJ = 4, Types::SAT = 5, Types::STL = 6, Types::WSM = 7,
  Types::LMV = 8, Types::SKP = 9, Types::AutocadDXF = 10, Types::AutocadDWG = 11,
  Types::ColladaDAE = 12, Types::PNG = 13, Types::JPG = 14, Types::JPEG = 15,
  Types::SPD = 16, Types::JS = 17, Types::JSON = 18, Types::ATFX = 19,
  Types::WMV = 20, Types::MP4 = 21
}
 All existing file types in FormIt. More...
 

Functions

FORMIT_CORE_EXPORT FormIt::Files::FileOptionsList GetSupportedFilesList (const FormIt::Files::Action &action, const FormIt::Files::ContentType &type, bool useDevFormat=false, const FormIt::UI::FormItDialogBox &dialog=FormIt::UI::FormItDialogBox::Local)
 Get Platform's supported files. More...
 
FORMIT_CORE_EXPORT bool IsFileSupported (const 1::string &extension, const FormIt::Files::Action &action, const FormIt::Files::ContentType &type, const FormIt::UI::FormItDialogBox &dialog=FormIt::UI::FormItDialogBox::Local)
 Check if a file extension is supported. More...
 
 DECL (Png, Types::PNG,"PNG file (*.png)","png") DECL(Json
 xBaseOption class declaration These string are duplicated in the cpp with a TR() for localization. More...
 
 DECL (Atfx, Types::ATFX,"ATF XML file (*.atfx)","atfx")
 
 DECL (Wmv, Types::WMV,"WMV Video file (*.wmv)","wmv")
 
 DECL (Mp4, Types::MP4,"MP4 Video file (*.mp4)","mp4")
 
 DECL_IMPORT (Png) DECL_START_EXPORT(Png) int m_width
 xImportsOptions classes declaration More...
 

Variables

Solid def file json
 
int m_height
 
bool m_doubleSided = false
 
bool m_isAscii = false
 
::string m_version = ""
 blank indicates latest version More...
 
bool m_withHistory = false