Class LIB_SINK is an abstract class from which implementation specific LIB_SINKs may be derived, one for each kind of library type in the library table that supports writing. More...
#include <sch_lib.h>
Protected Member Functions | |
| const STRING & | GetSinkType () |
| < derived classes must implement | |
| const STRING & | GetSinkURI () |
| Function GetSinkURI returns absolute location of the library sink. | |
| virtual STRING | WritePart (const STRING &aPartName, const STRING &aSExpression)=0 throw ( IO_ERROR ) |
| Function WritePart saves the part to non-volatile storage. | |
Friends | |
| class | LIB |
| only the LIB uses these functions. | |
Class LIB_SINK is an abstract class from which implementation specific LIB_SINKs may be derived, one for each kind of library type in the library table that supports writing.
The class name stems from the fact that this interface only provides WRITE functions.
Definition at line 156 of file sch_lib.h.
| const STRING& SCH::LIB_SINK::GetSinkType | ( | ) | [inline, protected] |
| virtual STRING SCH::LIB_SINK::WritePart | ( | const STRING & | aPartName, | |
| const STRING & | aSExpression | |||
| ) | throw ( IO_ERROR ) [protected, pure virtual] |
Function WritePart saves the part to non-volatile storage.
aPartName may have the revision portion present. If it is not present, and a overwrite of an existhing part is done, then LIB::ReloadPart() must be called on this same part and all parts that inherit it must be reparsed.
1.7.1