TextVC Class Reference

#include <Val.H>

Inheritance diagram for TextVC:

Inheritance graph
[legend]
Collaboration diagram for TextVC:

Collaboration graph
[legend]
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

Detailed Description

Definition at line 217 of file Val.H.


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 799 of file Val.C.

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

Here is the call graph for this function:

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

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

Definition at line 815 of file Val.C.

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

Here is the call graph for this function:

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

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

Implements ValC.

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

Implements ValC.

Definition at line 899 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(), and RunToolPK().

Here is the call graph for this function:

Here is the caller graph for this function:

Text TextVC::NDS (  ) 

Definition at line 968 of file Val.C.

References OS::cio(), content, OS::ThreadIO::end_err(), Text::MaxInt, NEW_PTRFREE_ARRAY, TextVC::TextC::shortId, SourceOrDerived::shortIdToName(), TextVC::TextC::txt, and ValC::VError().

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

Here is the call graph for this function:

Here is the caller graph for this function:

Text TextVC::TName (  ) 

Definition at line 1056 of file Val.C.

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

Referenced by PickleC::PickleVal().

Here is the call graph for this function:

Here is the caller graph for this function:

ShortId TextVC::Sid (  ) 

Definition at line 1008 of file Val.C.

References OS::cio(), content, CreateDerived(), OS::ThreadIO::end_err(), VestaSource::errorCodeString(), TextVC::TextC::hasName, IntToText(), Text::Length(), Basics::mutex::lock(), SourceOrDerived::Fatal::msg, SRPC::failure::msg, TextVC::TextC::name, VRErrorCode::ok, SRPC::failure::r, VestaSource::shortId(), TextVC::TextC::shortId, SourceOrDerived::shortIdToName(), TextVC::TextC::txt, Basics::mutex::unlock(), ValC::VError(), and VestaSource::write().

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

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

bool TextVC::HasSid (  )  [inline]

Definition at line 255 of file Val.H.

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

Referenced by PickleC::PickleVal().

Here is the caller graph for this function:

int TextVC::Length (  ) 

Definition at line 1068 of file Val.C.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements ValC.

Definition at line 257 of file Val.H.

References NEW_CONSTR.

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

Definition at line 945 of file Val.C.

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

Here is the call graph for this function:


Member Data Documentation

TextC* TextVC::content

Definition at line 247 of file Val.H.

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


The documentation for this class was generated from the following files:
Generated on Fri May 25 01:28:38 2007 for Vesta by  doxygen 1.5.1