WsEntity Struct Reference

#include <WsEntity.hxx>

Inheritance diagram for WsEntity:

Serializable Countable List of all members.

Public Member Functions

 SERIALIZABLE_DECLS (WsEntity)
void RecomputeStatus ()
void ReportStatus ()
int UploadTo (GCPtr< Repository > r, GCPtr< Mutable > m, GCPtr< CommitInfo > ci, TrueName change_name)
GCPtr< WsEntityShallowCopy ()
void MarkDeleted ()
void UnmarkDeleted (unsigned flags)
void UnbufferContent (unsigned flags)
void BufferContent ()
 WsEntity (GCPtr< Entity >)
 WsEntity (GCPtr< PendingChange > pc, std::string fsNm, unsigned char eType)

Public Attributes

GCPtr< Entityold
uint32_t flags
std::string cur_fsName
unsigned char cur_entityType
uint32_t cur_entityPerms
TrueName cur_mergeParent
TrueName cur_mergeParentChange
GCPtr< Bufferdeleted
TrueName lk_contentTrueName
uint32_t lk_length
time_t lk_modTime
TrueName familyNID
hash32_t famNidHash

Detailed Description

Definition at line 182 of file WsEntity.hxx.


Constructor & Destructor Documentation

WsEntity::WsEntity GCPtr< Entity  ) 
 

Definition at line 200 of file WsEntity.cxx.

References cur_entityPerms, cur_entityType, cur_fsName, familyNID, famNidHash, flags, lk_contentTrueName, lk_length, lk_modTime, and old.

WsEntity::WsEntity GCPtr< PendingChange pc,
std::string  fsNm,
unsigned char  eType
 

Definition at line 230 of file WsEntity.cxx.

References Entity::CreateFamNID(), cur_entityPerms, cur_entityType, cur_fsName, EPRM_EXEC, familyNID, famNidHash, flags, Buffer::FromFile(), TrueName::hash(), lk_contentTrueName, lk_length, lk_modTime, Path::portstat_t::modTime, NEF_ADDED, and old.


Member Function Documentation

void WsEntity::BufferContent  ) 
 

Definition at line 658 of file WsEntity.cxx.

References cur_entityType, cur_fsName, deleted, ExNoObject, flags, format(), Buffer::FromFile(), NEF_CONDDEL, NEF_DELETED, old, and THROW.

Referenced by MarkDeleted().

void WsEntity::MarkDeleted  ) 
 

Definition at line 687 of file WsEntity.cxx.

References BufferContent(), flags, and NEF_DELETED.

void WsEntity::RecomputeStatus  ) 
 

Definition at line 273 of file WsEntity.cxx.

References cur_entityPerms, cur_entityType, cur_fsName, deleted, EPRM_EXEC, flags, Buffer::FromFile(), Path::portstat_t::len, lk_contentTrueName, lk_length, lk_modTime, Path::portstat_t::modTime, NEF_ADDED, NEF_CONDDEL, NEF_DELETED, NEF_JADD, NEF_MERGED, NEF_MISSING, NEF_MODIFIED, NEF_PERMS, NEF_RENAMEALERT, NEF_RENAMED, old, and opt_ForceHash.

void WsEntity::ReportStatus  ) 
 

Definition at line 378 of file WsEntity.cxx.

References TrueName::asHumanString(), cur_entityPerms, cur_fsName, cur_mergeParent, EPRM_EXEC, flags, lk_length, NEF_CONDADD, NEF_CONDDEL, NEF_MERGED, NEF_PERMS, NEF_RENAMED, NEF_UPDATED, old, opt_Verbosity, and report().

WsEntity::SERIALIZABLE_DECLS WsEntity   ) 
 

GCPtr<WsEntity> WsEntity::ShallowCopy  ) 
 

void WsEntity::UnbufferContent unsigned  flags  ) 
 

Definition at line 701 of file WsEntity.cxx.

References cur_entityType, cur_fsName, deleted, ExNoObject, ExObjectExists, format(), THROW, and WSE_FORCE.

Referenced by UnmarkDeleted().

void WsEntity::UnmarkDeleted unsigned  flags  ) 
 

Definition at line 694 of file WsEntity.cxx.

References flags, NEF_CONDDEL, NEF_DELETED, and UnbufferContent().

int WsEntity::UploadTo GCPtr< Repository r,
GCPtr< Mutable m,
GCPtr< CommitInfo ci,
TrueName  change_name
 

Definition at line 495 of file WsEntity.cxx.

References cur_entityPerms, cur_entityType, cur_fsName, cur_mergeParent, cur_mergeParentChange, familyNID, famNidHash, flags, Buffer::FromFile(), SerMeta::fromSerializable(), lk_contentTrueName, lk_length, Path::portstat_t::modTime, TrueName::Null, old, and os::ToISO().


Member Data Documentation

uint32_t WsEntity::cur_entityPerms
 

Definition at line 191 of file WsEntity.hxx.

Referenced by RecomputeStatus(), ReportStatus(), UploadTo(), and WsEntity().

unsigned char WsEntity::cur_entityType
 

Definition at line 190 of file WsEntity.hxx.

Referenced by BufferContent(), merge3(), RecomputeStatus(), UnbufferContent(), UploadTo(), and WsEntity().

std::string WsEntity::cur_fsName
 

Definition at line 189 of file WsEntity.hxx.

Referenced by BufferContent(), merge3(), RecomputeStatus(), ReportStatus(), UnbufferContent(), UploadTo(), and WsEntity().

TrueName WsEntity::cur_mergeParent
 

Definition at line 192 of file WsEntity.hxx.

Referenced by ReportStatus(), and UploadTo().

TrueName WsEntity::cur_mergeParentChange
 

Definition at line 193 of file WsEntity.hxx.

Referenced by UploadTo().

GCPtr<Buffer> WsEntity::deleted
 

Definition at line 196 of file WsEntity.hxx.

Referenced by BufferContent(), RecomputeStatus(), and UnbufferContent().

TrueName WsEntity::familyNID
 

Definition at line 219 of file WsEntity.hxx.

Referenced by UploadTo(), and WsEntity().

hash32_t WsEntity::famNidHash
 

Definition at line 220 of file WsEntity.hxx.

Referenced by UploadTo(), and WsEntity().

uint32_t WsEntity::flags
 

Definition at line 188 of file WsEntity.hxx.

Referenced by BufferContent(), MarkDeleted(), RecomputeStatus(), ReportStatus(), UnmarkDeleted(), UploadTo(), and WsEntity().

TrueName WsEntity::lk_contentTrueName
 

Definition at line 202 of file WsEntity.hxx.

Referenced by RecomputeStatus(), UploadTo(), and WsEntity().

uint32_t WsEntity::lk_length
 

Definition at line 203 of file WsEntity.hxx.

Referenced by RecomputeStatus(), ReportStatus(), UploadTo(), and WsEntity().

time_t WsEntity::lk_modTime
 

Definition at line 211 of file WsEntity.hxx.

Referenced by RecomputeStatus(), and WsEntity().

GCPtr<Entity> WsEntity::old
 

Definition at line 185 of file WsEntity.hxx.

Referenced by BufferContent(), merge3(), RecomputeStatus(), ReportStatus(), UploadTo(), and WsEntity().


The documentation for this struct was generated from the following files:
Generated on Sun Apr 23 22:42:42 2006 for OpenCM by  doxygen 1.4.6