Rev Class Reference

#include <common.h>

List of all members.

Public Member Functions

 Rev (const QByteArray &b, uint s, int idx, int *next)
bool isBoundary () const
uint parentsCount () const
const QString parent (int idx) const
const QStringList parents () const
const QString sha () const
const QString author () const
const QString authorDate () const
const QString shortLog () const
const QString longLog () const

Public Attributes

QValueVector< int > lanes
QValueVector< int > childs
bool isDiffCache
bool isApplied
bool isUnApplied
int orderIdx
QValueVector< int > descRefs
QValueVector< int > ancRefs
QValueVector< int > descBranches
int descRefsMaster
int ancRefsMaster
int descBrnMaster

Private Member Functions

 Rev ()
 Rev (const Rev &)
Revoperator= (const Rev &)
int indexData ()
const QString mid (int start, int len) const

Private Attributes

const QByteArray & ba
const uint start
bool boundary
uint parentsCnt
uint startOfs
int autStart
int autLen
int autDateStart
int autDateLen
int sLogStart
int sLogLen
int lLogStart
int lLogLen


Detailed Description

Definition at line 257 of file common.h.


Constructor & Destructor Documentation

Rev (  )  [private]

Rev ( const Rev  )  [private]

Rev ( const QByteArray &  b,
uint  s,
int  idx,
int *  next 
) [inline]

Definition at line 263 of file common.h.


Member Function Documentation

Rev& operator= ( const Rev  )  [private]

bool isBoundary (  )  const [inline]

Definition at line 270 of file common.h.

Referenced by Git::updateLanes().

uint parentsCount (  )  const [inline]

Definition at line 271 of file common.h.

Referenced by Annotate::doAnnotate(), MainImpl::getExternalDiffArgs(), Git::getFiles(), Git::indexTree(), Annotate::isDescendant(), Git::isParentOf(), Git::loadFileNames(), Domain::populateState(), Git::updateLanes(), and PatchView::updatePatch().

const QString parent ( int  idx  )  const

Definition at line 1140 of file git_startup.cpp.

Referenced by Git::addChunk(), MainImpl::getExternalDiffArgs(), Git::getLaneParent(), Git::indexTree(), Annotate::isDescendant(), Git::isParentOf(), and Git::updateLanes().

const QStringList parents (  )  const

Definition at line 1145 of file git_startup.cpp.

Referenced by Annotate::doAnnotate(), Git::getDesc(), ListView::getLaneParentsChilds(), and Git::updateLanes().

const QString sha (  )  const [inline]

Definition at line 274 of file common.h.

Referenced by Git::addChunk(), Annotate::computeRanges(), Git::getAllMergeFiles(), Git::getDesc(), Git::mergeBranches(), Git::mergeNearTags(), and Git::updateDescMap().

const QString author (  )  const [inline]

Definition at line 275 of file common.h.

Referenced by Annotate::doAnnotate(), Git::getDesc(), MainImpl::passFilter(), and ListViewItem::setupData().

const QString authorDate (  )  const [inline]

Definition at line 276 of file common.h.

Referenced by Git::getDesc(), and ListViewItem::setupData().

const QString shortLog (  )  const [inline]

Definition at line 277 of file common.h.

Referenced by Git::getDefCommitMsg(), Git::getDesc(), Git::getShortLog(), MainImpl::passFilter(), and ListViewItem::setupData().

const QString longLog (  )  const [inline]

Definition at line 278 of file common.h.

Referenced by Git::getDefCommitMsg(), Git::getDesc(), and MainImpl::passFilter().

int indexData (  )  [private]

Definition at line 1154 of file git_startup.cpp.

Referenced by Rev().

const QString mid ( int  start,
int  len 
) const [private]

Definition at line 1134 of file git_startup.cpp.

Referenced by author(), authorDate(), longLog(), parent(), parents(), sha(), and shortLog().


Member Data Documentation

QValueVector<int> lanes

Definition at line 280 of file common.h.

Referenced by Git::addChunk(), Git::fakeWorkDirRev(), Git::getLaneParent(), ListViewItem::getLaneType(), ListViewItem::paintGraph(), Git::setLane(), ListViewItem::setupData(), and Git::updateLanes().

QValueVector<int> childs

Definition at line 280 of file common.h.

Referenced by Git::getChilds(), and Git::indexTree().

bool isDiffCache

Definition at line 281 of file common.h.

Referenced by Git::fakeWorkDirRev(), Git::getDesc(), ListViewItem::paintCell(), and Rev().

bool isApplied

Definition at line 281 of file common.h.

Referenced by Git::addChunk(), Git::getDesc(), Rev(), MainImpl::updateContextActions(), and Git::updateLanes().

bool isUnApplied

Definition at line 281 of file common.h.

Referenced by Git::addChunk(), Git::getDesc(), Rev(), and MainImpl::updateContextActions().

int orderIdx

Definition at line 282 of file common.h.

Referenced by Git::addChunk(), Git::appendNamesWithId(), Git::getChilds(), Git::getLaneParent(), Git::indexTree(), Annotate::isDescendant(), Git::mergeBranches(), and Git::mergeNearTags().

QValueVector<int> descRefs

Definition at line 283 of file common.h.

Referenced by Git::getNearTags(), Git::indexTree(), Git::mergeNearTags(), and Git::updateDescMap().

QValueVector<int> ancRefs

Definition at line 284 of file common.h.

Referenced by Git::getNearTags(), Git::indexTree(), and Git::mergeNearTags().

QValueVector<int> descBranches

Definition at line 285 of file common.h.

Referenced by Git::getDescendantBranches(), Git::indexTree(), and Git::mergeBranches().

int descRefsMaster

Definition at line 286 of file common.h.

Referenced by Git::getNearTags(), Git::indexTree(), Git::mergeNearTags(), Rev(), and Git::updateDescMap().

int ancRefsMaster

Definition at line 287 of file common.h.

Referenced by Git::getNearTags(), Git::indexTree(), Git::mergeNearTags(), and Rev().

int descBrnMaster

Definition at line 288 of file common.h.

Referenced by Git::getDescendantBranches(), Git::indexTree(), Git::mergeBranches(), and Rev().

const QByteArray& ba [private]

Definition at line 294 of file common.h.

Referenced by indexData(), and mid().

const uint start [private]

Definition at line 295 of file common.h.

Referenced by indexData(), parent(), parents(), and sha().

bool boundary [private]

Definition at line 296 of file common.h.

Referenced by indexData(), and isBoundary().

uint parentsCnt [private]

Definition at line 297 of file common.h.

Referenced by indexData(), parents(), and parentsCount().

uint startOfs [private]

Definition at line 297 of file common.h.

Referenced by indexData(), parent(), parents(), and sha().

int autStart [private]

Definition at line 298 of file common.h.

Referenced by author(), and indexData().

int autLen [private]

Definition at line 298 of file common.h.

Referenced by author(), and indexData().

int autDateStart [private]

Definition at line 298 of file common.h.

Referenced by authorDate(), and indexData().

int autDateLen [private]

Definition at line 298 of file common.h.

Referenced by authorDate(), and indexData().

int sLogStart [private]

Definition at line 299 of file common.h.

Referenced by indexData(), and shortLog().

int sLogLen [private]

Definition at line 299 of file common.h.

Referenced by indexData(), and shortLog().

int lLogStart [private]

Definition at line 299 of file common.h.

Referenced by indexData(), and longLog().

int lLogLen [private]

Definition at line 299 of file common.h.

Referenced by indexData(), and longLog().


The documentation for this class was generated from the following files:
Generated on Fri Dec 7 21:57:40 2007 for QGit by  doxygen 1.5.3