void Convertor::run() { while(std::getline(mInput,mTempLine)) { initializeNewLoop(); if(commentTesterOpen()) { commentTesterClose(); continue; } if(firstCheck()) continue; if(handleNamespace()) continue; if(handleStruct()) continue; if(cutLine()) continue; if(secondCheck()) continue; handlePost(); if(mType == Type::None) handleCtor(); if(mType == Type::None) handleDtor(); if(mType == Type::None) handleVoid(); if(mType == Type::None) mType = Type::Return; write(); } }
void Element::anonymizeElement(AnonContext *context) { AnonContext thisContext(context, tag()); handleNamespace(&thisContext); thisContext.setExceptionForElement(); if(context->isCollectingData()) { AnonException *exception = thisContext.getException(); if(thisContext.canAnonymize(exception)) { context->setOrigData(this, _tag); } } foreach(Attribute * attribute, attributes) { attribute->anonymize(&thisContext); }