Inheritance diagram for ILibDef:
Public Methods | |
virtual oa::oaLibDefList * | open ()=0 |
virtual oa::oaLibDefList * | open (const oa::oaString &filePath, oa::oaBoolean openReferences)=0 |
virtual void | save (const oa::oaLibDefList *libList)=0 |
virtual void | saveAs (const oa::oaLibDefList *libList, const oa::oaString &path)=0 |
virtual void | getDefaultPath (oa::oaString &defaultPath)=0 |
virtual void | getDefaultFileName (oa::oaString &filename)=0 |
virtual oa::oaBoolean | hasPath () const=0 |
virtual oa::oaBoolean | hasWritePath () const=0 |
virtual void | getLibPath (const oa::oaLibDef *libDef, oa::oaString &libPath)=0 |
virtual void | getLibWritePath (const oa::oaLibDef *libDef, oa::oaString &libWritepath)=0 |
virtual void | init (ILibDefAccess *libDefAccess)=0 |
Static Public Methods | |
const Guid & | getId () |
|
The function queries for the default file name for the library definition file in the current session. The plug-in is responsible for providing the default file name.
|
|
This function queries for the default path for the library definition file in the current session. If none exists, an empty string is returned. The plug-in is responsible for providing the default path.
|
|
This function returns a 128-bit ID value that is used to uniquely identify interfaces in the OpenAccess plug-in system. |
|
This function fills in a specific library path that a plug-in might define. Defining a special library path by the plug-in is optional. If a plug-in does not define and use a special library path for oaLibDef objects then the ILibDef::hasPath() should return false and OpenAccess will not call this function.
|
|
This function fills in a specific library write path that a plug-in might define. Defining a special library write path by the plug-in is optional. If a plug-in does not define and use a special library write path for oaLibDef objects then the ILibDef::hasWritePath() should return false and OpenAccess will not call this function.
|
|
The function returns true if the LibDef plug-in has a particular lib path for oaLibDef objects. |
|
This function returns true if the library definition file plug-in has a particular lib write path for oaLibDef objects.
|
|
This function initializes the library definition file plug-in and provides a pointer to an access object that allows a plug-in to call back to OpenAccess. The plug-in should store the libDefAccess object pointer to be able to call back to OpenAccess when needed.
|
|
|
|
This function opens the default library definition file. The plug-in is responsible for reading the library definition files and creating the corresponding oaLibDefList and oaLibDefListMem objects. If the library definition file was read successfully the function returns a pointer to the oaLibDefList object corresponding to the default library definition file. The default plug-in policy is used whether or not referenced library definition files are recursively opened. |
|
This function saves the specified oaLibDefList object. The plug-in is responsible for writing the library definitions into the file.
|
|
This function saves the oaLibDefObject to a file on disk in the specified path.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.