Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

FileEC Class Reference

#include <Expr.H>

Inheritance diagram for FileEC:

ExprC List of all members.

Public Member Functions

 FileEC (Name tname, const Text &tpath, VestaSource *mRoot, bool timport, SrcLoc *tloc)
void PrintD (std::ostream *os)
Val Eval (const Context &c)

Public Attributes

Name name
Atom localPath
VestaSourcemodelRoot
bool import

Constructor & Destructor Documentation

FileEC::FileEC Name  tname,
const Text tpath,
VestaSource mRoot,
bool  timport,
SrcLoc tloc
[inline]
 

Definition at line 221 of file Expr.H.


Member Function Documentation

Val FileEC::Eval const Context c  )  [virtual]
 

Implements ExprC.

Definition at line 606 of file Expr.C.

References FileECClosure::dir, ExprC::EError(), Error(), BindingEC::Eval(), NameEC::id, VestaSource::immutableDirectory, IsDelimiter(), FS::IsDirectory(), Text::Length(), VestaSource::list(), FileECClosure::loc, ExprC::loc, Basics::mutex::lock(), modelRoot, name, NEW_CONSTR, FileECClosure::newRoot, VRErrorCode::ok, outputMu, PathnameSep, RecordErrorOnStack(), setSuffix(), VestaSource::type, Basics::mutex::unlock(), and VestaSourceErrorMsg().

void FileEC::PrintD std::ostream *  os  )  [virtual]
 

Implements ExprC.

Definition at line 583 of file Expr.C.

References NameEC::id, localPath, and name.


Member Data Documentation

bool FileEC::import
 

Definition at line 228 of file Expr.H.

Referenced by PickleC::PickleExpr().

Atom FileEC::localPath
 

Definition at line 226 of file Expr.H.

Referenced by PickleC::PickleExpr(), and PrintD().

VestaSource* FileEC::modelRoot
 

Definition at line 227 of file Expr.H.

Referenced by Eval(), and PickleC::PickleExpr().

Name FileEC::name
 

Definition at line 224 of file Expr.H.

Referenced by Eval(), PickleC::PickleExpr(), and PrintD().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:09 2006 for Vesta by  doxygen 1.4.2