AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AL::maya::ProfilerSectionTag Class Reference

This class provides a static hash that should be unique for a line within a specific function. More...

#include <CodeTimings.h>

Public Member Functions

 ProfilerSectionTag (const std::string sectionName, const std::string filePath, const size_t lineNumber)
 ctor More...
 
bool operator== (const ProfilerSectionTag &rhs) const
 equality operator More...
 
size_t hash () const
 return the hash of this class More...
 

Friends

class Profiler
 

Detailed Description

This class provides a static hash that should be unique for a line within a specific function.

Constructor & Destructor Documentation

AL::maya::ProfilerSectionTag::ProfilerSectionTag ( const std::string  sectionName,
const std::string  filePath,
const size_t  lineNumber 
)
inline

ctor

Parameters
sectionNamea human readable name for the profiling section
filePaththe file that contains this code section
lineNumberthe line number in the file where this section starts

Member Function Documentation

size_t AL::maya::ProfilerSectionTag::hash ( ) const
inline

return the hash of this class

Returns
the hash of this class
bool AL::maya::ProfilerSectionTag::operator== ( const ProfilerSectionTag rhs) const
inline

equality operator

Parameters
rhsright hand side to test for equality
Returns
true if equal, false otherwise

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