IRISLIB database
SASchema Class Reference

This class is used as the super class for all the classes that implement SASchema interface. More...

Inheritance diagram for SASchema:

Static Public Member Functions

_.Library.Boolean IsUpToDate (_.Library.String pChecksum, _.Library.String pParameter)
 Subclass should override this method. More...
 
_.Library.Status OutputToFile (pFilename)
 Output the SASchema definition to a file. More...
 
_.Library.Status OutputToStream (_.Stream.Object pStream, _.Library.String pChecksum, _.Library.String pParameter)
 Subclass should override this method. More...
 

Detailed Description

This class is used as the super class for all the classes that implement SASchema interface.

Member Function Documentation

◆ IsUpToDate()

_.Library.Boolean IsUpToDate ( _.Library.String  pChecksum,
_.Library.String  pParameter 
)
static

Subclass should override this method.

Return a boolean to indicate whether the output associated with the pChecksum is still up-to-date or not.

Reimplemented in SASchemaFile, and SASchemaClass.

◆ OutputToFile()

_.Library.Status OutputToFile (   pFilename)
static

Output the SASchema definition to a file.

This method does not need to be overriden by subclasses.

◆ OutputToStream()

_.Library.Status OutputToStream ( _.Stream.Object  pStream,
_.Library.String  pChecksum,
_.Library.String  pParameter 
)
static

Subclass should override this method.

The method is passed a stream object to which the output should be written. Subclass can also return a checksum for the output.
Ths checksum is used to check to see the output is up-to-date.

Reimplemented in SASchemaFile, and SASchemaClass.