|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
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.
- 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
|