#include <Val.H>
Inheritance diagram for TextVC:


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 | |
| TextC * | content |
Private Member Functions | |
| std::istream * | Content (bool &closeIt) |
Classes | |
| class | TextC |
Definition at line 217 of file Val.H.
| TextVC::TextVC | ( | const Text & | ttext | ) | [inline] |
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 | |||
| ) |
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:

| 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] |
| 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:

1.5.1