|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Namespaces | |
| namespace | IDF3 |
Macros | |
| #define | ERROR_IDF std::cerr << "* " << __FILE__ << ":" << __LINE__ << ":" << __FUNCTION__ << "(): " |
| #define | IDF_MIN_DIA_MM ( 0.001 ) |
| #define | IDF_MIN_DIA_THOU ( 0.00039 ) |
| #define | IDF_MIN_DIA_TNM ( 100 ) |
| #define | IDF_THOU_TO_MM 0.0254 |
| #define | IDF_TNM_TO_MM 0.00001 |
Functions | |
| bool | IDF3::FetchIDFLine (std::istream &aModel, std::string &aLine, bool &isComment, std::streampos &aFilePos) |
| Retrieve a single line from an IDF file and performs minimal processing. | |
| bool | IDF3::GetIDFString (const std::string &aLine, std::string &aIDFString, bool &hasQuotes, int &aIndex) |
| Parse a line retrieved via FetchIDFLine() and returns the first IDF string found from the starting point aIndex. | |
| bool | IDF3::CompareToken (const char *aTokenString, const std::string &aInputString) |
| Perform a case-insensitive comparison of a token string and an input string. | |
| bool | IDF3::ParseOwner (const std::string &aToken, IDF3::KEY_OWNER &aOwner) |
| Parse the input string for a valid IDF Owner type. | |
| bool | IDF3::ParseIDFLayer (const std::string &aToken, IDF3::IDF_LAYER &aLayer) |
| Parse an input string for a valid IDF layer specification. | |
| bool | IDF3::WriteLayersText (std::ostream &aBoardFile, IDF3::IDF_LAYER aLayer) |
| Write out text corresponding to the given IDF Layer type. | |
| std::string | IDF3::GetPlacementString (IDF3::IDF_PLACEMENT aPlacement) |
| Return a string representing the given IDF Placement type. | |
| std::string | IDF3::GetLayerString (IDF3::IDF_LAYER aLayer) |
| Return a string representing the given IDF Layer type. | |
| std::string | IDF3::GetOwnerString (IDF3::KEY_OWNER aOwner) |
| #define ERROR_IDF std::cerr << "* " << __FILE__ << ":" << __LINE__ << ":" << __FUNCTION__ << "(): " |
Definition at line 29 of file idf_helpers.h.
Referenced by IDF3_COMPONENT::AddDrill(), IDF3::GetIDFString(), IDF3::ParseIDFLayer(), IDF3::ParseOwner(), IDF_OUTLINE::push(), IDF3_BOARD::readBoardFile(), IDF3_BOARD::readBrdHeader(), IDF3_BOARD::readBrdSection(), BOARD_OUTLINE::readData(), GROUP_OUTLINE::readData(), OTHER_OUTLINE::readData(), PLACE_OUTLINE::readData(), ROUTE_OUTLINE::readData(), IDF3_BOARD::ReadFile(), IDF3_BOARD::readLibHeader(), BOARD_OUTLINE::readOutlines(), IDF3_COMP_OUTLINE_DATA::readPlaceData(), IDF3_BOARD::setUnit(), and IDF3_COMP_OUTLINE_DATA::writePlaceData().
| #define IDF_MIN_DIA_MM ( 0.001 ) |
Definition at line 32 of file idf_helpers.h.
Referenced by IDF3_BOARD::AddSlot(), and IDF_DRILL_DATA::read().
| #define IDF_MIN_DIA_THOU ( 0.00039 ) |
Definition at line 33 of file idf_helpers.h.
Referenced by IDF_DRILL_DATA::read().
| #define IDF_MIN_DIA_TNM ( 100 ) |
Definition at line 34 of file idf_helpers.h.
Referenced by IDF_DRILL_DATA::read().
| #define IDF_THOU_TO_MM 0.0254 |
Definition at line 37 of file idf_helpers.h.
Referenced by IDF_DRILL_DATA::read(), BOARD_OUTLINE::readData(), IDF3_COMP_OUTLINE::readData(), OTHER_OUTLINE::readData(), PLACE_OUTLINE::readData(), IDF_NOTE::readNote(), BOARD_OUTLINE::readOutlines(), IDF3_COMP_OUTLINE_DATA::readPlaceData(), IDF_DRILL_DATA::write(), BOARD_OUTLINE::writeData(), IDF3_COMP_OUTLINE::writeData(), OTHER_OUTLINE::writeData(), PLACE_OUTLINE::writeData(), IDF_NOTE::writeNote(), BOARD_OUTLINE::writeOutline(), and IDF3_COMP_OUTLINE_DATA::writePlaceData().
| #define IDF_TNM_TO_MM 0.00001 |
Definition at line 39 of file idf_helpers.h.
Referenced by IDF_DRILL_DATA::read(), BOARD_OUTLINE::readData(), IDF3_COMP_OUTLINE::readData(), OTHER_OUTLINE::readData(), PLACE_OUTLINE::readData(), and BOARD_OUTLINE::readOutlines().