Ninja
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
BuildLog::LogEntry Struct Reference

#include <build_log.h>

Public Member Functions

 LogEntry (const string &output)
 
 LogEntry (const string &output, uint64_t command_hash, int start_time, int end_time, TimeStamp restat_mtime)
 
bool operator== (const LogEntry &o)
 

Static Public Member Functions

static uint64_t HashCommand (StringPiece command)
 

Public Attributes

uint64_t command_hash
 
int end_time
 
string output
 
TimeStamp restat_mtime
 
int start_time
 

Detailed Description

Definition at line 54 of file build_log.h.

Constructor & Destructor Documentation

BuildLog::LogEntry::LogEntry ( const string &  output)
explicit

Definition at line 95 of file build_log.cc.

BuildLog::LogEntry::LogEntry ( const string &  output,
uint64_t  command_hash,
int  start_time,
int  end_time,
TimeStamp  restat_mtime 
)

Definition at line 98 of file build_log.cc.

Member Function Documentation

uint64_t BuildLog::LogEntry::HashCommand ( StringPiece  command)
static
bool BuildLog::LogEntry::operator== ( const LogEntry o)
inline

Definition at line 64 of file build_log.h.

References command_hash, end_time, output, restat_mtime, and start_time.

Member Data Documentation

uint64_t BuildLog::LogEntry::command_hash
int BuildLog::LogEntry::end_time
string BuildLog::LogEntry::output
TimeStamp BuildLog::LogEntry::restat_mtime
int BuildLog::LogEntry::start_time

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