KiCad PCB EDA Suite
Loading...
Searching...
No Matches
ODB_TREE_WRITER Class Reference

#include <odb_util.h>

Public Member Functions

 ODB_TREE_WRITER (const wxString &aDir)
 
 ODB_TREE_WRITER (const wxString &aPareDir, const wxString &aSubDir)
 
virtual ~ODB_TREE_WRITER ()
 
ODB_FILE_WRITER CreateFileProxy (const wxString &aFileName)
 
void CreateEntityDirectory (const wxString &aPareDir, const wxString &aSubDir=wxEmptyString)
 
const wxString GetCurrentPath () const
 
void SetCurrentPath (const wxString &aDir)
 
void SetRootPath (const wxString &aDir)
 
const wxString GetRootPath () const
 

Private Attributes

wxString m_currentPath
 
wxString m_rootPath
 

Detailed Description

Definition at line 229 of file odb_util.h.

Constructor & Destructor Documentation

◆ ODB_TREE_WRITER() [1/2]

ODB_TREE_WRITER::ODB_TREE_WRITER ( const wxString &  aDir)
inline

Definition at line 232 of file odb_util.h.

◆ ODB_TREE_WRITER() [2/2]

ODB_TREE_WRITER::ODB_TREE_WRITER ( const wxString &  aPareDir,
const wxString &  aSubDir 
)
inline

Definition at line 234 of file odb_util.h.

References CreateEntityDirectory().

◆ ~ODB_TREE_WRITER()

virtual ODB_TREE_WRITER::~ODB_TREE_WRITER ( )
inlinevirtual

Definition at line 239 of file odb_util.h.

Member Function Documentation

◆ CreateEntityDirectory()

void ODB_TREE_WRITER::CreateEntityDirectory ( const wxString &  aPareDir,
const wxString &  aSubDir = wxEmptyString 
)

◆ CreateFileProxy()

◆ GetCurrentPath()

const wxString ODB_TREE_WRITER::GetCurrentPath ( ) const
inline

◆ GetRootPath()

const wxString ODB_TREE_WRITER::GetRootPath ( ) const
inline

Definition at line 254 of file odb_util.h.

References m_rootPath.

Referenced by ODB_ENTITY_BASE::CreateDirectoryTree(), and ODB_STEP_ENTITY::CreateDirectoryTree().

◆ SetCurrentPath()

void ODB_TREE_WRITER::SetCurrentPath ( const wxString &  aDir)
inline

Definition at line 250 of file odb_util.h.

References m_currentPath.

Referenced by ODB_STEP_ENTITY::GenerateFiles().

◆ SetRootPath()

void ODB_TREE_WRITER::SetRootPath ( const wxString &  aDir)
inline

Definition at line 252 of file odb_util.h.

References m_rootPath.

Member Data Documentation

◆ m_currentPath

wxString ODB_TREE_WRITER::m_currentPath
private

Definition at line 258 of file odb_util.h.

Referenced by CreateEntityDirectory(), GetCurrentPath(), and SetCurrentPath().

◆ m_rootPath

wxString ODB_TREE_WRITER::m_rootPath
private

Definition at line 259 of file odb_util.h.

Referenced by GetRootPath(), and SetRootPath().


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