Changeset 380 for branches


Ignore:
Timestamp:
02/03/14 17:31:38 (6 years ago)
Author:
jls17
Message:
  • added output of the setfields data source
Location:
branches/work_304/doc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/work_304/doc/DocActionSetFieldsHelper.cpp

    r379 r380  
    1818#include "DocActionSetFieldsHelper.h" 
    1919#include "DocAllMatchingIdsTable.h" 
    20 #include "../core/ARSetFieldHelper.h" 
    2120#include "../core/ARAssignHelper.h" 
    2221 
     
    5049        { 
    5150                CARSetFieldHelper sfh(*CARInside::GetInstance(), wfSchema, setFieldsStruct, ifElse, nAction); 
     51 
     52                writer << "Data Source: " << this->GetSetFieldsTypeName(sfh.GetType()) << "<br/>"; 
    5253 
    5354                switch (sfh.GetType()) 
     
    347348        return strm.str(); 
    348349} 
     350 
     351const char* CDocActionSetFieldsHelper::GetSetFieldsTypeName(SetFieldType type) 
     352{ 
     353        switch (type) 
     354        { 
     355        case SFT_CURRENT: return "CURRENT SCREEN"; 
     356        case SFT_SERVER: return "SERVER"; 
     357        case SFT_SAMPLEDATA: return "SAMPLE DATA"; 
     358        case SFT_SQL: return "SQL"; 
     359        case SFT_FILTERAPI: return "FILTER API"; 
     360        case SFT_WEBSERVICE: return "WEBSERVICE"; 
     361        case SFT_ATRIUM_ORCHESTRATOR: return "BMC ATRIUM ORCHESTRATOR"; 
     362        default: return EmptyValue; 
     363        } 
     364} 
  • branches/work_304/doc/DocActionSetFieldsHelper.h

    r379 r380  
    1818#include "../ARInside.h" 
    1919#include "../core/ARQualification.h" 
     20#include "../core/ARSetFieldHelper.h" 
    2021#include <tinyxml/tinyxml.h> 
    2122 
     
    5152        void GenerateDefaultMappingTable(std::stringstream &strmSchemaDisplay, std::stringstream &strmServer, std::stringstream &strmQual); 
    5253        string processMappingXML( TiXmlNode* pParent, string sParent, CTable &tblFieldList, string form, WebserviceMappingMode type); 
     54        const char* GetSetFieldsTypeName(SetFieldType type); 
    5355}; 
Note: See TracChangeset for help on using the changeset viewer.