Ninja
Public Member Functions | Public Attributes
Node Struct Reference

Information about a node in the dependency graph: the file, whether it's dirty, etc. More...

#include <graph.h>

List of all members.

Public Member Functions

bool dirty () const
 Node (FileStat *file)
bool ready () const

Public Attributes

bool dirty_
FileStatfile_
Edgein_edge_
vector< Edge * > out_edges_

Detailed Description

Information about a node in the dependency graph: the file, whether it's dirty, etc.

Definition at line 126 of file graph.h.


Constructor & Destructor Documentation

Node::Node ( FileStat file) [inline]

Definition at line 127 of file graph.h.


Member Function Documentation

bool Node::dirty ( ) const [inline]

Definition at line 129 of file graph.h.

Referenced by Plan::AddSubTarget(), and Plan::CleanNode().

bool Node::ready ( ) const [inline]

Definition at line 130 of file graph.h.

Referenced by Plan::AddSubTarget(), and Plan::NodeFinished().


Member Data Documentation

Definition at line 135 of file graph.h.

Referenced by State::AddIn(), Plan::CleanNode(), Edge::LoadDepFile(), and Plan::NodeFinished().


The documentation for this struct was generated from the following file: