Dependency record for a single build unit.
More...
#include <depsearch.h>
Dependency record for a single build unit.
Contains a list of units (pointers to other CDependencyRecord objects) that this unit depends on and a list of cross-references to this unit. This class is used by CDependencyInfo to store information about every single build unit.
CDependencyRecord::CDependencyRecord |
( |
void |
) | |
|
Creates dependency record.
CDependencyRecord::~CDependencyRecord |
( |
void |
) | |
|
Destroys dependency record.
Adds new cross reference for this build unit.
- Parameters
-
Record | dependency record of another build unit. |
Adding a cross reference means telling that another build unit depends on this build unit.
Adds new dependency for this build unit.
- Parameters
-
Record | dependency record of another build unit. |
Adding a dependency means telling that this build unit depends on another build unit.
CDependencyRecord::Clear |
( |
void |
) | |
|
Resets a dependency record to the initial state.
CDependencyRecord::CrossReference |
( |
const size_t |
Index) | |
const |
Returns cross reference with number Index.
- Parameters
-
Index | number of a cross reference. |
- Returns
- cross reference.
CDependencyRecord::CrossReferencesComplete |
( |
void |
) | |
|
|
inline |
CDependencyRecord::CrossReferencesCount |
( |
void |
) | |
const |
Returns the number of cross references to this unit.
- Returns
- cross references count.
CDependencyRecord::DependenciesComplete |
( |
void |
) | |
|
|
inline |
CDependencyRecord::DependenciesCount |
( |
void |
) | |
const |
Returns the number of unit denpendencies.
- Returns
- denpendencies count.
CDependencyRecord::Dependency |
( |
const size_t |
Index) | |
const |
Returns dependency record with number Index.
- Parameters
-
Index | number of a dependency. |
- Returns
- dependency record.
CDependencyRecord::GetName |
( |
void |
) | |
const |
|
inline |
Returns the file name of the build unit.
- Returns
- name of the build unit.
CDependencyRecord::Hash |
( |
void |
) | |
const |
|
inline |
Returns string hash for the file name.
CDependencyRecord::Marker |
( |
void |
) | |
|
|
inline |
Indicates that this unit was already walked through by a dependency unwinding process to avoid infinite loops.
- Returns
- reference to CDependencyRecord::m_Marker.
CDependencyRecord::SetName |
( |
const CString & |
Name) | |
|
Changes the file name of the build unit.
CDependencyRecord::Show |
( |
void |
) | |
|
Prints the build unit dependecy record contents to the standard output.
CDependencyRecord::m_CrossReferences |
|
private |
List of units that depend on this unit.
CDependencyRecord::m_CrossReferencesComplete |
|
private |
Indicates that the list of cross-references is fully gathered.
CDependencyRecord::m_Dependencies |
|
private |
List of units that this unit depends on.
CDependencyRecord::m_DependenciesComplete |
|
private |
Indicates that the list of dependencies is fully gathered.
CDependencyRecord::m_Hash |
|
private |
CDependencyRecord::m_Marker |
|
private |
Indicates that this unit was already walked through by a dependency unwinding process to avoid infinite loops.
CDependencyRecord::m_Name |
|
private |
File name of the build unit.
The documentation for this class was generated from the following files: