Procházet zdrojové kódy

cleaned up namespace in SNFMulti

master
Pete McNeil před 4 roky
rodič
revize
c8555f1ae4
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 5
    5
      SNFMulti.cpp

+ 5
- 5
SNFMulti.cpp Zobrazit soubor

@@ -21,7 +21,7 @@

//#include "../nvwa-0.6/nvwa/debug_new.h"

using namespace std;
namespace cd = codedweller;

//// Version Info

@@ -284,7 +284,7 @@ int snf_RulebaseHandler::getRetiringCount(){

// FileUTC(FileName) - utility function for tagging the active rulebase

RuntimeCheck FileUTCGoodTimestampLength("SNFMulti.cpp:FileUTC snprintf(...) == CorrectTimestampLength");
cd::RuntimeCheck FileUTCGoodTimestampLength("SNFMulti.cpp:FileUTC snprintf(...) == CorrectTimestampLength");

string FileUTC(string FileName) { // Gets a files UTC.
struct stat FileNameStat; // First we need a stat buffer.
@@ -347,7 +347,7 @@ bool snf_RulebaseHandler::AutoRefresh() {
// are appropriate. The other functions can count on this one to polish off the various forms of rulebase
// load activity.

const LogicCheck SaneRefreshProcessCheck("snf_RulebaseHandler::_snf_LoadNewRulebase():SaneRefreshProcessCheck(RefreshInProgress)");
const cd::LogicCheck SaneRefreshProcessCheck("snf_RulebaseHandler::_snf_LoadNewRulebase():SaneRefreshProcessCheck(RefreshInProgress)");

void snf_RulebaseHandler::_snf_LoadNewRulebase(){ // Common internal load/check routine.
SaneRefreshProcessCheck(RefreshInProgress); // We only get called when this flag is set.
@@ -1312,8 +1312,8 @@ string snf_EngineHandler::extractMessageID(
return ExtractedID; // Return the extracted id or substitute.
}

const LogicFault FaultBadMessageBuffer1("snf_EngineHandler::scanMessage():FaultBadMessageBuffer1(NULL == inputMessageBuffer)");
const LogicFault FaultBadMessageBuffer2("snf_EngineHandler::scanMessage():FaultBadMessageBuffer2(0 >= inputMessageLength)");
const cd::LogicFault FaultBadMessageBuffer1("snf_EngineHandler::scanMessage():FaultBadMessageBuffer1(NULL == inputMessageBuffer)");
const cd::LogicFault FaultBadMessageBuffer2("snf_EngineHandler::scanMessage():FaultBadMessageBuffer2(0 >= inputMessageLength)");

const char Unknown_SNFMatchFlag = '-';
const char Panic_SNFMatchFlag = 'p';

Načítá se…
Zrušit
Uložit