Changeset 445 for branches


Ignore:
Timestamp:
03/09/14 17:19:20 (6 years ago)
Author:
jls17
Message:
Location:
branches/work_304
Files:
1 added
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/work_304/ARInsideLib.vcproj

    r443 r445  
    10881088                        <File 
    10891089                                RelativePath=".\output\ImageTable.h" 
     1090                                > 
     1091                        </File> 
     1092                        <File 
     1093                                RelativePath=".\output\LetterFilterControl.cpp" 
     1094                                > 
     1095                        </File> 
     1096                        <File 
     1097                                RelativePath=".\output\LetterFilterControl.h" 
    10901098                                > 
    10911099                        </File> 
  • branches/work_304/CMakeLists.txt

    r440 r445  
    108108 doc/DocGroupDetails.cpp doc/MessageItem.cpp doc/DocEscalationDetails.cpp doc/DocSummaryInfo.cpp 
    109109 doc/DocAlGuideDetails.cpp doc/DocCustomWorkflow.cpp doc/DocOverlayHelper.cpp doc/DocAllMatchingIdsTable.cpp 
     110 doc/DocImageOverview.cpp 
    110111 lists/ARActiveLinkList.cpp lists/ARContainerList.cpp lists/AREscalationList.cpp lists/ARFieldList.cpp 
    111112 lists/ARFilterList.cpp lists/ARGroupList.cpp lists/ARImageList.cpp lists/ARMenuList.cpp lists/ARRoleList.cpp 
     
    118119 output/WebPage.cpp output/TableColumn.cpp output/NavigationPage.cpp output/GroupTable.cpp output/ImageTable.cpp 
    119120 output/UListItem.cpp output/MenuTable.cpp output/UserTable.cpp output/WebUtil.cpp output/TabControl.cpp 
    120  output/webpage/HtmlReferenceList.cpp output/webpage/HtmlReferenceListImpl.cpp 
     121 output/webpage/HtmlReferenceList.cpp output/webpage/HtmlReferenceListImpl.cpp output/LetterFilterControl.cpp 
    121122 scan/ScanActiveLinks.cpp scan/ScanContainers.cpp scan/ScanEscalations.cpp scan/ScanFields.cpp scan/ScanFilters.cpp 
    122123 scan/ScanImages.cpp scan/ScanMain.cpp scan/ScanMenus.cpp scan/ScanSchema.cpp 
     
    310311 
    311312# generate svnrev.h file 
    312 FIND_PACKAGE(Subversion) 
     313#FIND_PACKAGE(Subversion) 
    313314IF(Subversion_FOUND) 
    314315        Subversion_WC_INFO(${PROJECT_SOURCE_DIR} ARINSIDE) 
  • branches/work_304/doc/DocImageOverview.cpp

    r443 r445  
    2020#include "../ARInside.h" 
    2121#include "../output/ImageTable.h" 
     22#include "../output/LetterFilterControl.h" 
    2223 
    23 CDocImageOverview::CDocImageOverview(const std::string &startChar, std::vector<int> countPerLetter) 
     24CDocImageOverview::CDocImageOverview(const std::string &startChar, std::vector<int> &countPerLetter) 
    2425: searchChar(startChar), objCountPerLetter(countPerLetter) 
    2526{ 
     
    4243        unsigned int page = (unsigned int)searchChar[0]; 
    4344        CPageParams file(page, AR_STRUCT_ITEM_XML_IMAGE); 
     45        LetterFilterControl letterFilter; 
    4446 
    4547        try 
     
    6163                        if (searchChar == "*") // All objects 
    6264                        { 
     65                                letterFilter.IncStartLetterOf(img); 
    6366                                // the first call to this function holds always "*" as search char. That's the 
    6467                                // best time to sum up the object count per letter. 
     
    109112                        } 
    110113 
    111                         strmTmp << CDocMain::ShortMenu(searchChar, file, objCountPerLetter); 
     114                        strmTmp << letterFilter; 
    112115                        strmTmp << imgTable; 
    113116                         
  • branches/work_304/doc/DocImageOverview.h

    r443 r445  
    2020{ 
    2121public: 
    22         CDocImageOverview(const std::string &startChar, std::vector<int> objCountPerLetter); 
     22        CDocImageOverview(const std::string &startChar, std::vector<int> &objCountPerLetter); 
    2323        ~CDocImageOverview(void); 
    2424 
     
    2828        int rootLevel; 
    2929        std::vector<int> &objCountPerLetter; 
    30         const std::string &searchChar; 
     30        std::string searchChar; 
    3131}; 
  • branches/work_304/output/LetterFilterControl.h

    r444 r445  
    1717#pragma once 
    1818 
    19 class CDocImageOverview 
     19// forward declarations 
     20class CARServerObject; 
     21 
     22namespace OUTPUT  
    2023{ 
    21 public: 
    22         CDocImageOverview(const std::string &startChar, std::vector<int> objCountPerLetter); 
    23         ~CDocImageOverview(void); 
     24        class LetterFilterControl 
     25        { 
     26        public: 
     27                LetterFilterControl(); 
     28                ~LetterFilterControl(); 
    2429 
    25         unsigned int Build(); 
     30                void IncStartLetterOf(CARServerObject &obj); 
     31                void Render(std::ostream &strm); 
    2632 
    27 private: 
    28         int rootLevel; 
    29         std::vector<int> &objCountPerLetter; 
    30         const std::string &searchChar; 
     33        private: 
     34                std::vector<int> objCountPerLetter; 
     35        }; 
    3136}; 
     37 
     38ostream& operator<<(ostream& strm, OUTPUT::LetterFilterControl& inst); 
Note: See TracChangeset for help on using the changeset viewer.