Generic VLSI Data File. More...

#include <files.h>

Inheritance diagram for RDataFile:
[legend]
Collaboration diagram for RDataFile:
[legend]

Public Types

enum  tDataType { vdtNothing, vdtEDIF2, vdtGDSII }
 

Public Member Functions

 RDataFile (RProject *project, const R::RURI &uri)
 
int Compare (const RDataFile &file) const
 
int Compare (const R::RURI &uri) const
 
R::RURI GetURI (void) const
 
virtual void Analyse (R::RTextFile *log)=0
 
virtual ~RDataFile (void)
 

Protected Attributes

RProjectProject
 
R::RURI URI
 
tDataType Type
 

Detailed Description

Generic VLSI Data File.

The RDataFile provides a generic data file related to a VLSI project.

Member Enumeration Documentation

enum tDataType

Represent the different type of files of a VLSI project.

Enumerator
vdtNothing 
vdtEDIF2 

No specified type.

vdtGDSII 

EDIF2 type. GDS II type.

Constructor & Destructor Documentation

RDataFile ( RProject project,
const R::RURI uri 
)

Construct a data file.

Parameters
projectProject.
uriURI of the file.
virtual ~RDataFile ( void  )
virtual

Destructor.

Member Function Documentation

int Compare ( const RDataFile file) const

Compare two data file.

Parameters
fileFile to compare with.
Returns
a value compatible with RContainer.
int Compare ( const R::RURI uri) const

Compare a file with a given uri.

Parameters
uriURI to compare with.
Returns
a value compatible with RContainer.
R::RURI GetURI ( void  ) const
Returns
the URI of the file.
virtual void Analyse ( R::RTextFile log)
pure virtual

Analyze the file.

Parameters
logLog file (may be null).

Implemented in REDIFFile, and RGDSFile.

Member Data Documentation

RProject* Project
protected

The project.

R::RURI URI
protected

URI of the file.

tDataType Type
protected

Type of the type.