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

TextVC Class Reference

#include <Val.H>

Inheritance diagram for TextVC:

ValC List of all members.

Public Member Functions

 TextVC (const Text &ttext)
 TextVC (const Text &tname, const Text &ttext, char c, const FP::Tag &fp)
 TextVC (const Text &tname, std::fstream *iFile, VestaSource *vSource)
 TextVC (const Text &tname, const ShortId sid, int fp_content)
 TextVC (const Text &tname, const ShortId sid, const FP::Tag &fp)
 TextVC (const TextVC &val)
void PrintD (std::ostream *os, bool verbose=false, int indent=0)
FP::Tag FingerPrint ()
Text NDS ()
Text TName ()
ShortId Sid ()
bool HasTxt ()
bool HasSid ()
int Length ()
Val Copy (bool more)

Public Attributes

TextCcontent

Private Member Functions

std::istream * Content (bool &closeIt)

Classes

class  TextC

Constructor & Destructor Documentation

TextVC::TextVC const Text ttext  )  [inline]
 

Definition at line 234 of file Val.H.

References content, and NEW_CONSTR.

TextVC::TextVC const Text tname,
const Text ttext,
char  c,
const FP::Tag fp
 

Definition at line 816 of file Val.C.

References content, FP::Tag::Extend(), NEW_CONSTR, ValC::tag, ValC::tagged, and textTag.

TextVC::TextVC const Text tname,
std::fstream *  iFile,
VestaSource vSource
 

Definition at line 825 of file Val.C.

References content, VestaSource::fptag, NEW_CONSTR, ValC::tag, and ValC::tagged.

TextVC::TextVC const Text tname,
const ShortId  sid,
int  fp_content
 

Definition at line 832 of file Val.C.

References FS::Close(), content, FP::Tag::Extend(), FP::FileContents(), NEW_CONSTR, SourceOrDerived::open(), ValC::tag, ValC::tagged, textTag, and UniqueId().

TextVC::TextVC const Text tname,
const ShortId  sid,
const FP::Tag fp
[inline]
 

Definition at line 242 of file Val.H.

References content, NEW_CONSTR, ValC::tag, and ValC::tagged.

TextVC::TextVC const TextVC val  )  [inline]
 

Definition at line 246 of file Val.H.


Member Function Documentation

istream * TextVC::Content bool &  closeIt  )  [private]
 

Definition at line 962 of file Val.C.

References content, TextVC::TextC::hasName, TextVC::TextC::name, NEW_CONSTR, and SourceOrDerived::shortIdToName().

Referenced by PrintD().

Val TextVC::Copy bool  more  )  [inline, virtual]
 

Implements ValC.

Definition at line 257 of file Val.H.

References NEW_CONSTR.

FP::Tag TextVC::FingerPrint  )  [virtual]
 

Implements ValC.

Definition at line 915 of file Val.C.

References content, FP::Tag::Extend(), TextVC::TextC::hasTxt, sizeof_assert, ValC::tag, ValC::tagged, textTag, and TextVC::TextC::txt.

Referenced by PickleC::PickleVal().

bool TextVC::HasSid  )  [inline]
 

Definition at line 255 of file Val.H.

References content, NullShortId, and TextVC::TextC::shortId.

Referenced by PickleC::PickleVal().

bool TextVC::HasTxt  )  [inline]
 

Definition at line 254 of file Val.H.

References content, and TextVC::TextC::hasTxt.

Referenced by PickleC::CollectDIs(), and PickleC::PickleVal().

int TextVC::Length  ) 
 

Definition at line 1091 of file Val.C.

References content, Text::Length(), SourceOrDerived::shortIdToName(), and TextVC::TextC::txt.

Referenced by PickleC::PickleVal(), and RunTool().

Text TextVC::NDS  ) 
 

Definition at line 985 of file Val.C.

References content, Basics::mutex::lock(), Text::MaxInt, NEW_PTRFREE_ARRAY, outputMu, TextVC::TextC::shortId, SourceOrDerived::shortIdToName(), TextVC::TextC::txt, Basics::mutex::unlock(), and ValC::VError().

Referenced by CheckTreatment(), and PickleC::PickleVal().

void TextVC::PrintD std::ostream *  os,
bool  verbose = false,
int  indent = 0
[virtual]
 

Implements ValC.

Definition at line 866 of file Val.C.

References FdCache::close(), content, Content(), TextVC::TextC::name, printSidNum, and SourceOrDerived::shortIdToName().

Referenced by RunToolHost().

ShortId TextVC::Sid  ) 
 

Definition at line 1025 of file Val.C.

References FS::Close(), content, CreateDerived(), Error(), TextVC::TextC::hasName, IntToText(), Text::Length(), Basics::mutex::lock(), SourceOrDerived::Fatal::msg, SRPC::failure::msg, TextVC::TextC::name, SourceOrDerived::open(), outputMu, SRPC::failure::r, TextVC::TextC::shortId, SourceOrDerived::shortIdToName(), TextVC::TextC::txt, Basics::mutex::unlock(), ValC::VError(), and FS::Write().

Referenced by PickleC::CollectDIs(), PickleC::PickleVal(), RunTool(), and TName().

Text TextVC::TName  ) 
 

Definition at line 1079 of file Val.C.

References content, Basics::mutex::lock(), TextVC::TextC::name, Sid(), and Basics::mutex::unlock().

Referenced by PickleC::PickleVal().


Member Data Documentation

TextC* TextVC::content
 

Definition at line 247 of file Val.H.

Referenced by Content(), FingerPrint(), HasSid(), HasTxt(), Length(), NDS(), PrintD(), Sid(), TextVC(), and TName().


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