Public Methods | |
PcellFile (const oaString &fileName) | |
~PcellFile () | |
void | open (oaChar mode) |
void | close () |
void | read (oaDesign *subMaster, oaUInt8 offset) |
oaUInt8 | append (oaDesign *subMaster) |
oaUInt8 | getSize () const |
|
This is the constructor for PcellFile.
|
|
This is the destructor for PcellFile. |
|
This function appends the contents of the specified Pcell subMaster to the file associated with this object and returns the location in that file where the subMaster is written. This location must be handed back to PCellFile::read to retrieve this saved submaster. An exception is thrown if:
|
|
This function closes the file used to read or write Pcell subMasters.
|
|
This function returns the size in bytes of the subMaster data in the cache file associated with this object.
|
|
This function opens the file in the specified access mode and prepares it for reading or writing Pcell subMasters.
|
|
This function reads the contents of a Pcell subMaster from the file associated with this object starting at the specified offset. The original contents in the subMaster are cleared. An exception is thrown if:
In addition, if the given offset location does not point to a valid subMaster database, or the database is corrupted, or the database is incompatible with the current OpenAccess software, OpenAccess exceptions are thrown to indicate the error. For example, if the database is not data compatible with the current software, an oaCompatibilityError is thrown.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.