#include "stdafx.h" #include #include int SourceCodePosition::GetRelationalObjectModuleIndex() const { if( this->IsNothing() ) { _ASSERTE( false ); throw std::runtime_error("SourceCodePosition::GetRelationalObjectModuleIndex"); } return relationalObjectModuleIndex; } bool SourceCodePosition::IsNothing() const { if( this->relationalObjectModuleIndex == -1 && this->pos == -1 ) { return true; } if( this->relationalObjectModuleIndex == -1 || this->pos == -1 ) { _ASSERTE( false ); throw std::runtime_error("SourceCodePosition::IsNothing"); } return false; }