GME  13
HiClient.h
Go to the documentation of this file.
00001 #pragma once
00002 #include "Client.h"
00003 #include "CallLogger.h"
00004 
00005 class HiClient
00006         : protected Client // implementation inherited from Client
00007         , public CallLogger
00008 {
00009 public:
00010         HiClient( const std::string& p_userName, const std::string& p_passWord);
00011         ~HiClient(void);
00012 
00013         void replaceUserName( const std::string& p_userName);
00014 
00015 
00016         // public :
00017         bool isItUs              ( const std::string& p_userName);
00018         //bool isLocked            ( const std::string& p_path);
00019         //bool isLockedByUs        ( const std::string& p_path);
00020         bool isLockedByOthers    ( const std::string& p_path);
00021         bool isLockedByWhom      ( const std::string& p_path, bool * p_us, bool * p_else);
00023         bool isLockedByUser      ( const std::string& p_path, std::string& p_holder);
00024         bool isVersioned         ( const std::string& p_path, bool p_isADir = false, bool p_suppressErrorMsg = false);
00025         bool info                ( const std::string& p_url,  bool p_recursive, bool p_assembleInfoMsg, std::string& p_infoMsg, std::string& p_author, std::string& p_lockOwner);
00026         bool status              ( const std::string& p_path, bool p_assembleStatusMsg, std::string& p_statMsg);
00027         bool statusOnServer      ( const std::string& p_path, bool p_assembleStatusMsg, std::string& p_statMsg, bool *p_outOfDate, bool *p_repoEntryModified);
00028         bool cleanup             ( const std::string& p_path);
00029         bool resolve             ( const std::string& p_path, bool p_recursive);
00030 
00031         bool tryLock             ( const std::string& p_path);
00032         bool unLock              ( const std::string& p_path);
00033         bool unLock              ( const std::vector< std::string> & p_pathVec);
00034         bool lockableProp        ( const std::string& p_path);
00035         bool getLatest           ( const std::string& p_path);
00036         bool lightCheckOut       ( const std::string& p_path, const std::string& p_localDir); // this is used as svn checkout (in contrast with lock+checkout as in other versioning systems)
00037         bool commitAll           ( const std::string& p_path, const std::string& p_comment, bool p_keepCheckedOut);
00038         bool add                 ( const std::string& p_path, bool p_recursive);
00039         bool mkDirOnServer       ( const std::string& p_path);
00040         bool speedLock                   ( const std::vector< std::string> & targets, std::string &msg);
00041 };
00042