Skip to content

Instantly share code, notes, and snippets.

@alksl
Created December 19, 2013 12:39
Show Gist options
  • Save alksl/8038524 to your computer and use it in GitHub Desktop.
Save alksl/8038524 to your computer and use it in GitHub Desktop.
std::ostream& ShortSymbols(std::ostream& o)
{
SymbolInformation::outputFormat = SymbolInformation::kShortFormat;
return o;
}
std::ostream& LongSymbols(std::ostream& o)
{
SymbolInformation::outputFormat = SymbolInformation::kFullFormat;
return o;
}
std::ostream& SummarySymbols(std::ostream& o)
{
SymbolInformation::outputFormat = SymbolInformation::kSummaryFormat;
return o;
}
// o << "TypeInformation @ " << (void*)this << '\n';
// o << " Tag: " << tag << '\n';
// o << " ID: " << id << '\n';
// o << " Table: " << (void*)table << '\n';
// o << " Element type: 0x" << (void*)elementType << ' ';
// if (elementType) o << SummarySymbols << elementType << LongSymbols;
// o << '\n';
// o << " Dimensions: " << arrayDimensions << '\n';
// o << " Size: " << size << '\n';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment