Ninja
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 1234]
oCBuildConfigOptions (e.g. verbosity, parallelism) passed to a build
oCBuilderBuilder wraps the build process: starting commands, updating status
oCBuildLogStore a log of every command ran for every build
oCBuildLogUserCan answer questions about the manifest for the BuildLog
|oCBuildTest
||oCBuildWithDepsLogTestTests of builds involving deps logs necessarily must span multiple builds
||\CBuildWithLogTest
|| \CBuildDryRun
|\CNoDeadPaths
oCBuildStatusTracks the status of a build: completion fraction, printing updates
oCCleaner
oCCLParserVisual Studio's cl.exe requires some massaging to work with Ninja; for example, it emits include information on stderr in a funny format when building with /showIncludes
oCCLWrapperWraps a synchronous execution of a CL subprocess
oCCommandRunnerCommandRunner is an interface that wraps running the build subcommands
|oCFakeCommandRunnerFake implementation of CommandRunner, useful for tests
|\CRealCommandRunner
oCDependencyScanDependencyScan manages the process of scanning the files in a graph and updating the dirty/outputs_ready state of all the nodes and edges
oCDepfileParserParser for the dependency information emitted by gcc's -M flags
oCDepsLog::Deps
oCDepsLogAs build commands run they can output extra dependency information (e.g
oCDiskInterfaceInterface for accessing the disk
|oCRealDiskInterfaceImplementation of DiskInterface that actually hits the disk
|\CVirtualFileSystemAn implementation of DiskInterface that uses an in-memory representation of disk state
oCEdgeAn edge in the dependency graph; links between Nodes using Rules
oCVirtualFileSystem::EntryAn entry for a single in-memory file
oCEnvAn interface for a scope for variable (e.g. "$foo") lookups
|oCBindingEnvAn Env which contains a mapping of variables to values as well as a pointer to a parent scope
|\CEdgeEnvAn Env for an Edge, providing $in and $out
oCEvalStringA tokenized string that contains variable references
oCExternalStringHashMap< V >A template for hash_maps keyed by a StringPiece whose string is owned externally (typically by the values)
oCExternalStringHashMap< LogEntry * >
oCExternalStringHashMap< Node * >
oCManifestParser::FileReader
|oCParserTest
|oCRealFileReader
|\CRealFileReader
oCGETOPT_LONG_OPTION_T
oCGraphVizRuns the process of creating GraphViz .dot file output
oC__gnu_cxx::hash< StringPiece >
oCImplicitDepLoaderImplicitDepLoader loads implicit dependencies, as referenced via the "depfile" attribute in build files
oCIncludesNormalizeUtility functions for normalizing include paths on Windows
oCLexer
oCLinePrinterPrints lines of text, possibly overprinting previously printed lines if the terminal supports it
oCLineReader
oCBuildLog::LogEntry
oCManifestParserParses .ninja files
oCMetricThe Metrics module is used for the debug mode that dumps timing stats of various actions
oCMetricsThe singleton that stores metrics and prints the report
oCNodeInformation about a node in the dependency graph: the file, whether it's dirty, mtime, etc
oCPlanPlan stores the state of a build plan: what we intend to build, which steps we're ready to execute
oCPoolA pool for delayed edges
oCBuildStatus::RateInfo
oCRegisteredTest
oCCommandRunner::ResultThe result of waiting for a command
oCRuleAn invokable build command and associated metadata (description, etc.)
oCScopedMetricA scoped object for recording a metric across the body of a function
oCScopedTempDir
oCBuildStatus::SlidingRateInfo
oCStateGlobal state (file status) for a single run
oCStopwatchA simple stopwatch which returns the time in seconds since Restart() was called
oCStringPieceStringPiece represents a slice of a string whose memory is managed externally
oCSubprocessSubprocess wraps a single async subprocess
oCSubprocessSetSubprocessSet runs a ppoll/pselect() loop around a set of Subprocesses
oCtesting::Test
|oCDepfileParserTest
|oCParserTest
|\CStateTestWithBuiltinRulesA base test fixture that includes a State object with a builtin "cat" rule
| oCBuildTest
| oCCleanTest
| oCGraphTest
| \CPlanTestFixture for tests involving Plan
\Chash_map