44int main(
int argc,
char** argv )
49 wxString filename( wxT(
"/tmp/specctra_big.dsn") );
73 fprintf( stderr,
"loaded OK\n" );
103 return wxEmptyString;
wxString GetLayerName() const
Return the name of the PCB layer on which the item resides.
int GetCopperLayerCount() const
void Format(OUTPUTFORMATTER *out, int nestLevel) override
Write this object as ASCII out to an OUTPUTFORMATTER according to the SPECCTRA DSN format.
A <session_file_descriptor> in the specctra dsn spec.
void Format(OUTPUTFORMATTER *out, int nestLevel) override
Write this object as ASCII out to an OUTPUTFORMATTER according to the SPECCTRA DSN format.
A DSN data tree, usually coming from a DSN file.
void LoadSESSION(const wxString &aFilename)
A recursive descent parser for a SPECCTRA DSN "session" file.
Hold an error message and may be used when throwing exceptions containing meaningful error messages.
virtual const wxString What() const
A composite of Problem() and Where()
Instantiate the current locale within a scope in which you are expecting exceptions to be thrown.
This source file implements export and import capabilities to the specctra dsn file format.
wxString From_UTF8(const char *cstring)
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.