libzypp  17.7.0
HistoryLogData.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
9 
13 #ifndef ZYPP_HISTORYLOGDATA_H_
14 #define ZYPP_HISTORYLOGDATA_H_
15 
16 #include <iosfwd>
17 
18 #include "zypp/APIConfig.h"
19 #include "zypp/Date.h"
20 #include "zypp/Edition.h"
21 #include "zypp/Arch.h"
22 #include "zypp/CheckSum.h"
23 #include "zypp/Url.h"
24 
25 #define HISTORY_LOG_DATE_FORMAT "%Y-%m-%d %H:%M:%S"
26 
28 namespace zypp
29 {
37  {
38  static const HistoryActionID NONE;
39 
40  static const HistoryActionID INSTALL;
41  static const HistoryActionID REMOVE;
42  static const HistoryActionID REPO_ADD;
47 
48  enum ID
49  {
51 
59  };
60 
62 
63  HistoryActionID(ID id) : _id(id) {}
64 
65  explicit HistoryActionID(const std::string & strval_r);
66 
67  ID toEnum() const { return _id; }
68 
69  static HistoryActionID::ID parse(const std::string & strval_r);
70 
71  const std::string & asString(bool pad = false) const;
72 
73  private:
75  };
76 
78  inline bool operator==( const HistoryActionID & lhs, const HistoryActionID & rhs )
79  { return lhs.toEnum() == rhs.toEnum(); }
80 
82  inline bool operator!=( const HistoryActionID & lhs, const HistoryActionID & rhs )
83  { return lhs.toEnum() != rhs.toEnum(); }
84 
86  std::ostream & operator << (std::ostream & str, const HistoryActionID & id);
88 
103  {
104  public:
105  typedef shared_ptr<HistoryLogData> Ptr;
106  typedef shared_ptr<const HistoryLogData> constPtr;
107 
108  typedef std::vector<std::string> FieldVector;
110  typedef FieldVector::const_iterator const_iterator;
111 
112  public:
117  explicit HistoryLogData( FieldVector & fields_r, size_type expect_r = 2 );
118 
123  HistoryLogData( FieldVector & fields_r, HistoryActionID action_r, size_type expect_r = 2 );
124 
126  virtual ~HistoryLogData();
127 
138  static Ptr create( FieldVector & fields_r );
139 
140  public:
142  bool empty() const;
143 
145  size_type size() const;
146 
148  const_iterator begin() const;
149 
151  const_iterator end() const;
152 
157  const std::string & optionalAt( size_type idx_r ) const;
159  const std::string & operator[]( size_type idx_r ) const
160  { return optionalAt( idx_r ); }
161 
166  const std::string & at( size_type idx_r ) const;
167 
168  public:
169  enum Index
170  {
173  };
174 
175  public:
176  Date date() const;
177  HistoryActionID action() const;
178 
179  public:
180  class Impl;
181  private:
183  protected:
185  };
186 
188  std::ostream & operator<<( std::ostream & str, const HistoryLogData & obj );
190 
197  {
198  public:
199  typedef shared_ptr<HistoryLogDataInstall> Ptr;
200  typedef shared_ptr<const HistoryLogDataInstall> constPtr;
204  HistoryLogDataInstall( FieldVector & fields_r );
205 
206  public:
207  enum Index
208  {
218  };
219 
220  public:
221  std::string name() const;
222  Edition edition() const;
223  Arch arch() const;
224  std::string reqby() const;
225  std::string repoAlias() const;
226  CheckSum checksum() const;
227  std::string userdata() const;
228  };
229 
236  {
237  public:
238  typedef shared_ptr<HistoryLogDataRemove> Ptr;
239  typedef shared_ptr<const HistoryLogDataRemove> constPtr;
243  HistoryLogDataRemove( FieldVector & fields_r );
244 
245  public:
246  enum Index
247  {
255  };
256 
257  public:
258  std::string name() const;
259  Edition edition() const;
260  Arch arch() const;
261  std::string reqby() const;
262  std::string userdata() const;
263  };
264 
271  {
272  public:
273  typedef shared_ptr<HistoryLogDataRepoAdd> Ptr;
274  typedef shared_ptr<const HistoryLogDataRepoAdd> constPtr;
278  HistoryLogDataRepoAdd( FieldVector & fields_r );
279 
280  public:
281  enum Index
282  {
288  };
289 
290  public:
291  std::string alias() const;
292  Url url() const;
293  std::string userdata() const;
294  };
295 
302  {
303  public:
304  typedef shared_ptr<HistoryLogDataRepoRemove> Ptr;
305  typedef shared_ptr<const HistoryLogDataRepoRemove> constPtr;
310 
311  public:
312  enum Index
313  {
318  };
319 
320  public:
321  std::string alias() const;
322  std::string userdata() const;
323  };
324 
331  {
332  public:
333  typedef shared_ptr<HistoryLogDataRepoAliasChange> Ptr;
334  typedef shared_ptr<const HistoryLogDataRepoAliasChange> constPtr;
339 
340  public:
341  enum Index
342  {
348  };
349 
350  public:
351  std::string oldAlias() const;
352  std::string newAlias() const;
353  std::string userdata() const;
354  };
355 
362  {
363  public:
364  typedef shared_ptr<HistoryLogDataRepoUrlChange> Ptr;
365  typedef shared_ptr<const HistoryLogDataRepoUrlChange> constPtr;
370 
371  public:
372  enum Index
373  {
379  };
380 
381  public:
382  std::string alias() const;
383  Url newUrl() const;
384  std::string userdata() const;
385  };
386 
394  {
395  public:
396  typedef shared_ptr<HistoryLogDataStampCommand> Ptr;
397  typedef shared_ptr<const HistoryLogDataStampCommand> constPtr;
402 
403  public:
404  enum Index
405  {
411  };
412 
413  public:
414  std::string executedBy() const;
415  std::string command() const;
416  std::string userdata() const;
417  };
418 
419 } // namespace zypp
421 #endif /* ZYPP_HISTORYLOGDATA_H_ */
zypp::HistoryLogDataInstall
A zypp history log line for an installed packaged.
Definition: HistoryLogData.h:196
zypp::HistoryLogDataInstall::CHEKSUM_INDEX
@ CHEKSUM_INDEX
package checksum
Definition: HistoryLogData.h:216
zypp::HistoryLogData::constPtr
shared_ptr< const HistoryLogData > constPtr
Definition: HistoryLogData.h:106
zypp::HistoryActionID::NONE_e
@ NONE_e
Definition: HistoryLogData.h:50
zypp::HistoryLogDataRepoAliasChange::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:344
Edition.h
zypp::HistoryLogDataRepoAdd::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:271
zypp::HistoryLogData::HistoryLogData
HistoryLogData(FieldVector &fields_r, size_type expect_r=2)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:169
zypp::HistoryActionID::HistoryActionID
HistoryActionID(ID id)
Definition: HistoryLogData.h:63
zypp::HistoryLogDataRepoRemove
A zypp history log line for a removed repository.
Definition: HistoryLogData.h:301
zypp::HistoryLogDataRepoRemove::constPtr
shared_ptr< const HistoryLogDataRepoRemove > constPtr
Definition: HistoryLogData.h:305
zypp::HistoryLogDataStampCommand::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:310
zypp::HistoryLogData::date
Date date() const
date
Definition: HistoryLogData.cc:227
zypp::HistoryLogDataRepoAliasChange::NEWALIAS_INDEX
@ NEWALIAS_INDEX
repositories new alias
Definition: HistoryLogData.h:346
zypp::HistoryActionID::asString
const std::string & asString(bool pad=false) const
Definition: HistoryLogData.cc:74
zypp::HistoryActionID::REPO_CHANGE_ALIAS
static const HistoryActionID REPO_CHANGE_ALIAS
Definition: HistoryLogData.h:44
zypp::HistoryLogDataRepoAdd::constPtr
shared_ptr< const HistoryLogDataRepoAdd > constPtr
Definition: HistoryLogData.h:274
zypp::HistoryLogDataRepoAliasChange::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:343
zypp::HistoryLogDataInstall::REQBY_INDEX
@ REQBY_INDEX
requested by (user@hostname, pid:appname, or empty (solver))
Definition: HistoryLogData.h:214
zypp::HistoryLogDataInstall::reqby
std::string reqby() const
requested by (user@hostname, pid:appname, or empty (solver))
Definition: HistoryLogData.cc:246
zypp::HistoryLogData::size_type
FieldVector::size_type size_type
Definition: HistoryLogData.h:109
zypp::HistoryLogData::_pimpl
RWCOW_pointer< Impl > _pimpl
Implementation class.
Definition: HistoryLogData.h:180
zypp::HistoryLogDataRemove::arch
Arch arch() const
package architecture
Definition: HistoryLogData.cc:259
zypp::HistoryLogData::Index
Index
< indices of known fields
Definition: HistoryLogData.h:169
zypp::HistoryLogDataInstall::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:217
zypp::HistoryLogDataStampCommand::COMMAND_INDEX
@ COMMAND_INDEX
the commandline executed
Definition: HistoryLogData.h:409
zypp::HistoryLogData::FieldVector
std::vector< std::string > FieldVector
Definition: HistoryLogData.h:108
zypp::HistoryLogDataRemove::edition
Edition edition() const
package edition
Definition: HistoryLogData.cc:258
zypp::HistoryLogDataRepoAdd::url
Url url() const
repository url
Definition: HistoryLogData.cc:270
zypp::HistoryLogData::size
size_type size() const
Number of fields in vector.
Definition: HistoryLogData.cc:208
zypp::CheckSum
Definition: CheckSum.h:33
zypp::HistoryActionID::REPO_ADD_e
@ REPO_ADD_e
Definition: HistoryLogData.h:54
zypp::HistoryLogDataRemove::HistoryLogDataRemove
HistoryLogDataRemove(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:254
zypp::HistoryLogDataInstall::repoAlias
std::string repoAlias() const
repository providing the package
Definition: HistoryLogData.cc:247
zypp::HistoryLogDataRepoAdd::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:284
zypp::HistoryLogDataRemove
A zypp history log line for a removed packge.
Definition: HistoryLogData.h:235
zypp::HistoryLogDataStampCommand::constPtr
shared_ptr< const HistoryLogDataStampCommand > constPtr
Definition: HistoryLogData.h:397
zypp::HistoryLogDataStampCommand::Ptr
shared_ptr< HistoryLogDataStampCommand > Ptr
Definition: HistoryLogData.h:396
zypp::HistoryActionID::REPO_ADD
static const HistoryActionID REPO_ADD
Definition: HistoryLogData.h:42
zypp::Edition
Edition represents [epoch:]version[-release]
Definition: Edition.h:60
zypp::HistoryActionID::REPO_CHANGE_URL
static const HistoryActionID REPO_CHANGE_URL
Definition: HistoryLogData.h:45
zypp::HistoryLogDataInstall::NAME_INDEX
@ NAME_INDEX
package name
Definition: HistoryLogData.h:211
CheckSum.h
zypp::HistoryLogDataRepoAliasChange::HistoryLogDataRepoAliasChange
HistoryLogDataRepoAliasChange(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:285
zypp::HistoryLogDataRemove::name
std::string name() const
package name
Definition: HistoryLogData.cc:257
zypp::HistoryLogDataStampCommand::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:407
zypp::HistoryLogData::Impl
Definition: HistoryLogData.cc:105
zypp::HistoryLogData
A zypp history log line split into fields.
Definition: HistoryLogData.h:102
zypp::HistoryLogDataRepoAdd::alias
std::string alias() const
repository alias
Definition: HistoryLogData.cc:269
zypp::HistoryLogData::const_iterator
FieldVector::const_iterator const_iterator
Definition: HistoryLogData.h:110
zypp::HistoryLogData::begin
const_iterator begin() const
Iterator pointing to 1st element in vector (or end()).
Definition: HistoryLogData.cc:211
zypp::HistoryActionID::REPO_REMOVE_e
@ REPO_REMOVE_e
Definition: HistoryLogData.h:55
zypp::HistoryLogDataRepoUrlChange::ALIAS_INDEX
@ ALIAS_INDEX
repository alias
Definition: HistoryLogData.h:376
zypp::HistoryLogDataRepoAdd::URL_INDEX
@ URL_INDEX
repository url
Definition: HistoryLogData.h:286
zypp::HistoryLogData::operator[]
const std::string & operator[](size_type idx_r) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: HistoryLogData.h:159
zypp::HistoryLogDataStampCommand::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:410
zypp::HistoryLogData::~HistoryLogData
virtual ~HistoryLogData()
Dtor.
Definition: HistoryLogData.cc:177
zypp::HistoryLogDataRepoRemove::alias
std::string alias() const
repository alias
Definition: HistoryLogData.cc:279
zypp::HistoryLogDataRepoUrlChange
A zypp history log line for a repo url change.
Definition: HistoryLogData.h:361
zypp::HistoryLogDataInstall::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:210
zypp::Arch
Architecture.
Definition: Arch.h:36
zypp::HistoryLogDataRepoAliasChange::oldAlias
std::string oldAlias() const
repositories old alias
Definition: HistoryLogData.cc:288
zypp::HistoryLogDataInstall::edition
Edition edition() const
package edition
Definition: HistoryLogData.cc:244
zypp::HistoryLogDataRepoRemove::ALIAS_INDEX
@ ALIAS_INDEX
repository alias
Definition: HistoryLogData.h:316
zypp::HistoryLogDataRepoUrlChange::newUrl
Url newUrl() const
repositories new url
Definition: HistoryLogData.cc:299
zypp::HistoryLogDataRepoAdd::Ptr
shared_ptr< HistoryLogDataRepoAdd > Ptr
Definition: HistoryLogData.h:273
zypp::HistoryLogDataRemove::EDITION_INDEX
@ EDITION_INDEX
package edition
Definition: HistoryLogData.h:251
zypp::HistoryLogDataRepoRemove::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:280
zypp::HistoryLogDataInstall::Ptr
shared_ptr< HistoryLogDataInstall > Ptr
Definition: HistoryLogData.h:199
zypp::HistoryLogDataRepoUrlChange::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:375
zypp::HistoryLogDataRepoAliasChange::constPtr
shared_ptr< const HistoryLogDataRepoAliasChange > constPtr
Definition: HistoryLogData.h:334
zypp::HistoryLogDataRemove::NAME_INDEX
@ NAME_INDEX
package name
Definition: HistoryLogData.h:250
zypp::HistoryActionID::NONE
static const HistoryActionID NONE
Definition: HistoryLogData.h:38
Url.h
zypp::HistoryLogData::end
const_iterator end() const
Iterator pointing behind the last element in vector.
Definition: HistoryLogData.cc:214
zypp::HistoryActionID::operator!=
bool operator!=(const HistoryActionID &lhs, const HistoryActionID &rhs)
Definition: HistoryLogData.h:82
Arch.h
zypp::HistoryActionID::REMOVE
static const HistoryActionID REMOVE
Definition: HistoryLogData.h:41
zypp::HistoryLogDataRepoAdd::HistoryLogDataRepoAdd
HistoryLogDataRepoAdd(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:266
zypp::HistoryLogDataRemove::REQBY_INDEX
@ REQBY_INDEX
requested by (user@hostname, pid:appname, or empty (solver))
Definition: HistoryLogData.h:253
zypp::HistoryLogDataRepoUrlChange::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:378
zypp::HistoryLogDataStampCommand
A zypp history log line identifying the program that triggered the following commit.
Definition: HistoryLogData.h:393
zypp::HistoryLogDataRepoAliasChange::OLDALIAS_INDEX
@ OLDALIAS_INDEX
repositories old alias
Definition: HistoryLogData.h:345
zypp::HistoryLogData::DATE_INDEX
@ DATE_INDEX
date
Definition: HistoryLogData.h:171
zypp::HistoryLogDataRemove::reqby
std::string reqby() const
requested by (user@hostname, pid:appname, or empty (solver))
Definition: HistoryLogData.cc:260
zypp::HistoryLogData::action
HistoryActionID action() const
HistoryActionID (or NONE_e if unknown)
Definition: HistoryLogData.cc:230
zypp::HistoryLogDataRepoUrlChange::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:300
zypp::HistoryActionID::parse
static HistoryActionID::ID parse(const std::string &strval_r)
Definition: HistoryLogData.cc:48
zypp::HistoryActionID::REPO_CHANGE_ALIAS_e
@ REPO_CHANGE_ALIAS_e
Definition: HistoryLogData.h:56
zypp::HistoryLogDataRepoAdd::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:287
Date.h
zypp::HistoryActionID::toEnum
ID toEnum() const
Definition: HistoryLogData.h:67
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
zypp::HistoryLogDataInstall::HistoryLogDataInstall
HistoryLogDataInstall(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:240
zypp::HistoryLogDataRepoUrlChange::HistoryLogDataRepoUrlChange
HistoryLogDataRepoUrlChange(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:295
zypp::HistoryLogDataInstall::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:209
zypp::HistoryLogDataRepoUrlChange::constPtr
shared_ptr< const HistoryLogDataRepoUrlChange > constPtr
Definition: HistoryLogData.h:365
zypp::HistoryLogDataRemove::ARCH_INDEX
@ ARCH_INDEX
package architecture
Definition: HistoryLogData.h:252
zypp::HistoryActionID::REMOVE_e
@ REMOVE_e
Definition: HistoryLogData.h:53
zypp::HistoryLogDataRepoAdd::ALIAS_INDEX
@ ALIAS_INDEX
repository alias
Definition: HistoryLogData.h:285
zypp::HistoryActionID::ID
ID
Definition: HistoryLogData.h:48
zypp::HistoryLogDataRepoAdd
A zypp history log line for an added repository.
Definition: HistoryLogData.h:270
zypp::HistoryActionID::HistoryActionID
HistoryActionID()
Definition: HistoryLogData.h:61
zypp::HistoryLogDataRepoUrlChange::Ptr
shared_ptr< HistoryLogDataRepoUrlChange > Ptr
Definition: HistoryLogData.h:364
zypp::HistoryLogDataRepoAdd::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:283
zypp::HistoryActionID::REPO_REMOVE
static const HistoryActionID REPO_REMOVE
Definition: HistoryLogData.h:43
zypp::HistoryLogDataRepoUrlChange::NEWURL_INDEX
@ NEWURL_INDEX
repositories new url
Definition: HistoryLogData.h:377
zypp::HistoryLogDataInstall::REPOALIAS_INDEX
@ REPOALIAS_INDEX
repository providing the package
Definition: HistoryLogData.h:215
zypp::HistoryLogDataRemove::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:261
zypp::HistoryLogData::at
const std::string & at(size_type idx_r) const
Access (required) field by number.
Definition: HistoryLogData.cc:223
zypp::HistoryLogDataRepoAliasChange::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:290
zypp::HistoryActionID::STAMP_COMMAND_e
@ STAMP_COMMAND_e
Definition: HistoryLogData.h:58
zypp::HistoryLogDataStampCommand::USER_INDEX
@ USER_INDEX
executed by user@hostname
Definition: HistoryLogData.h:408
zypp::HistoryLogDataInstall::checksum
CheckSum checksum() const
package checksum
Definition: HistoryLogData.cc:248
zypp::HistoryActionID::INSTALL
static const HistoryActionID INSTALL
Definition: HistoryLogData.h:40
zypp::HistoryActionID::REPO_CHANGE_URL_e
@ REPO_CHANGE_URL_e
Definition: HistoryLogData.h:57
zypp::HistoryActionID::STAMP_COMMAND
static const HistoryActionID STAMP_COMMAND
Definition: HistoryLogData.h:46
zypp::HistoryLogDataRepoRemove::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:317
zypp::HistoryLogData::optionalAt
const std::string & optionalAt(size_type idx_r) const
Access (optional) field by number.
Definition: HistoryLogData.cc:217
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Definition: Exception.cc:147
zypp::Date
Store and operate on date (time_t).
Definition: Date.h:32
zypp::HistoryLogDataStampCommand::executedBy
std::string executedBy() const
executed by user@hostname
Definition: HistoryLogData.cc:308
zypp::HistoryLogData::create
static Ptr create(FieldVector &fields_r)
Factory method creating HistoryLogData classes.
Definition: HistoryLogData.cc:180
zypp::HistoryLogDataRepoAliasChange::Ptr
shared_ptr< HistoryLogDataRepoAliasChange > Ptr
Definition: HistoryLogData.h:333
zypp::HistoryActionID::_id
ID _id
Definition: HistoryLogData.h:74
zypp::HistoryLogDataStampCommand::HistoryLogDataStampCommand
HistoryLogDataStampCommand(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:305
zypp::HistoryLogDataInstall::name
std::string name() const
package name
Definition: HistoryLogData.cc:243
zypp::HistoryActionID::operator==
bool operator==(const HistoryActionID &lhs, const HistoryActionID &rhs)
Definition: HistoryLogData.h:78
APIConfig.h
Provides API related macros.
zypp::HistoryLogDataRepoRemove::HistoryLogDataRepoRemove
HistoryLogDataRepoRemove(FieldVector &fields_r)
Ctor moving FieldVector (via swap).
Definition: HistoryLogData.cc:276
zypp::HistoryLogDataRepoAliasChange::newAlias
std::string newAlias() const
repositories new alias
Definition: HistoryLogData.cc:289
zypp::sat::detail::size_type
SolvableIdType size_type
Definition: PoolMember.h:126
zypp::HistoryLogData::empty
bool empty() const
Whether FieldVector is empty.
Definition: HistoryLogData.cc:205
zypp::HistoryLogDataRemove::Ptr
shared_ptr< HistoryLogDataRemove > Ptr
Definition: HistoryLogData.h:238
zypp::HistoryLogDataInstall::constPtr
shared_ptr< const HistoryLogDataInstall > constPtr
Definition: HistoryLogData.h:200
zypp::HistoryLogDataInstall::arch
Arch arch() const
package architecture
Definition: HistoryLogData.cc:245
zypp::HistoryLogDataInstall::userdata
std::string userdata() const
userdata/transactionID
Definition: HistoryLogData.cc:249
zypp::HistoryLogDataRepoAliasChange
A zypp history log line for a repo alias change.
Definition: HistoryLogData.h:330
zypp::RWCOW_pointer< Impl >
zypp::HistoryLogDataInstall::EDITION_INDEX
@ EDITION_INDEX
package edition
Definition: HistoryLogData.h:212
str
String related utilities and Regular expression matching.
zypp::HistoryLogDataRemove::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:249
zypp::HistoryLogDataStampCommand::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:406
zypp::HistoryLogDataRepoRemove::Ptr
shared_ptr< HistoryLogDataRepoRemove > Ptr
Definition: HistoryLogData.h:304
zypp::HistoryLogData::operator=
HistoryLogData & operator=(const HistoryLogData &)
no base class assign
zypp::HistoryActionID
Enumeration of known history actions.
Definition: HistoryLogData.h:36
zypp::HistoryLogData::ACTION_INDEX
@ ACTION_INDEX
HistoryActionID.
Definition: HistoryLogData.h:172
zypp::Url
Url manipulation class.
Definition: Url.h:87
zypp::HistoryActionID::INSTALL_e
@ INSTALL_e
Definition: HistoryLogData.h:52
zypp::HistoryLogDataRepoUrlChange::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:374
zypp::HistoryLogDataInstall::ARCH_INDEX
@ ARCH_INDEX
package architecture
Definition: HistoryLogData.h:213
zypp::HistoryLogDataStampCommand::command
std::string command() const
the commandline executed
Definition: HistoryLogData.cc:309
zypp::HistoryLogDataRemove::constPtr
shared_ptr< const HistoryLogDataRemove > constPtr
Definition: HistoryLogData.h:239
zypp::HistoryLogDataRepoRemove::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:314
zypp::HistoryLogDataRemove::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:254
zypp::HistoryLogDataRepoUrlChange::alias
std::string alias() const
repository alias
Definition: HistoryLogData.cc:298
zypp::HistoryLogDataRemove::DATE_INDEX
@ DATE_INDEX
Definition: HistoryLogData.h:248
zypp::HistoryLogDataRepoRemove::ACTION_INDEX
@ ACTION_INDEX
Definition: HistoryLogData.h:315
zypp::HistoryLogDataRepoAliasChange::USERDATA_INDEX
@ USERDATA_INDEX
userdata/transactionID
Definition: HistoryLogData.h:347
zypp::HistoryLogData::Ptr
shared_ptr< HistoryLogData > Ptr
Definition: HistoryLogData.h:105