User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
RCSFileC::RCSFileC(void)
RCSFileC::RCSFileC(const FilenameC &)
RCSFileC::RCSFileC(const StringC &)
RCSFileC::RCSFileC(const RCSFileC &)
RCSFileC::Exists(void) const
RCSFileC::IsCheckedOut(void)
RCSFileC::CheckOut(void)
RCSFileC::NeedsUpdate(void)
RCSFileC::CheckIn(StringC)
RCSFileC::CheckOutUL(StringC,FilenameC)
RCSFileC::Update(void)
RCSFileC::AddUser(const StringC &)
RCSFileC::RemoveUser(const StringC &)
RCSFileC::UsesRCS(void)
RCSFileC::IsDifferent(FilenameC,StringC)
RCSFileC::IsDiffFromHead(void)
RCSFileC::ParseRCS(void)
RCSFileC::ExtractInital(StringC &,StringC &)
RCSFileC::ListLogEntries(void)
RCSFileC::Possess(BooleanT)
RCSFileC::HasAccess(const UserInfoC &)
RCSFileC::IsAvailable(void)
RCSFileC::HeadVersion(void)
RCSFileC::HasChangedFrom(RCSVersionC)
RCSFileC::HasChangedFrom(const RCSFileC &,RCSVersionC)
RCSFileC::Filename(void)
RCSFileC::Filename(void) const
RCSFileC::BinCompair(const FilenameC &) const
RCSFileC::CopyTo(const FilenameC &) const
RCSFileC::operator StringC(void) const
RCSFileC::operator FilenameC(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCSFileC
 
Body class for dealing with RCS files.
 
include "amma/util/RCSFile.hh"
User Level:Default
Library:SysUtil
Example:exEndPoint.cc
Section:Utilities.AMMA Maintenance
In Scope:std

Parent Classes:

Methods:
RCSFileC()
Default constructor.

RCSFileC(const FilenameC & aname)
Construct from a filename.

RCSFileC(const StringC & aname)
Construct from a string.

RCSFileC(const RCSFileC & oth)
Copy Constructor.

BooleanT Exists() const
Does file exists ?

BooleanT IsCheckedOut()
Is file checked out ?

BooleanT CheckOut()
Check out file.
Return TRUE=Operation succeded.

BooleanT NeedsUpdate()
Check the time stamps on the file to see if update is needed.

BooleanT CheckIn(StringC cimsg = "RCSFileC Checkin")
Check in file.
Return TRUE=Operation succeded.

StringC CheckOutUL(StringC version = "",FilenameC dest = ".")
Checkout a unlocked version of this file to somewhere.
dest is a directory in which to put the file.

Returns name of checkedout file, or empty string if failed.


BooleanT Update()
Make sure unlocked file is up to date.

BooleanT AddUser(const StringC & login)
Add user to access list.

BooleanT RemoveUser(const StringC & login)
Remove user from access list.

BooleanT UsesRCS()
Test if file has an RCS database.

BooleanT IsDifferent(FilenameC other,StringC vers = "")
Is this working file different from some other version of a particular file.

BooleanT IsDiffFromHead()
Test if current version of file is different from head.

BooleanT ParseRCS()
Extract info from RCS file.

BooleanT ExtractInital(StringC & author,StringC & date)
Who originaly checkin in the file and the date it happened.

DListC<Tuple4C<DateC,StringC,RCSVersionC,StringC>> ListLogEntries()
List all log entries after version 'afterVer'.

BooleanT Possess(BooleanT verbose = FALSE)
Possess file.
Change owner ship of RCS db file to that of the the current user. (If possible). NB. This user must own the RCS directory!

BooleanT HasAccess(const UserInfoC & auser)
Test if a user has access.

BooleanT IsAvailable()
Test if file is available to modify.
User must have access to file and it can't be locked by anyone else.

RCSVersionC HeadVersion()
Get head version.

BooleanT HasChangedFrom(RCSVersionC fromVer)
Has file changed from version 'fromVer' ?

BooleanT HasChangedFrom(const RCSFileC & oth,RCSVersionC fromVer)
Has file changed from version 'fromVer' of oth ?
Similar to IsDifferent()

FilenameC & Filename()
Access filename.

const FilenameC & Filename() const
Access filename.

BooleanT BinCompair(const FilenameC & fn) const
Binary compair working files.

BooleanT CopyTo(const FilenameC & fn) const
Copy this working file somewhere else.

operator StringC() const
Access as a string.

operator FilenameC() const
Access as a Filename.

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<RCSFileBodyC> & operator=(const RCHandleC<RCSFileBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<RCSFileBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<RCSFileBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

RCSFileBodyC & Body()
Direct access to body.

const RCSFileBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001