diff --git a/cpp/src/slice2html/Gen.cpp b/cpp/src/slice2html/Gen.cpp
index 4680c57..de13194 100644
old
|
new
|
Slice::GeneratorBase::printMetaData(const ContainedPtr& p) |
562 | 562 | } |
563 | 563 | |
564 | 564 | void |
565 | | Slice::GeneratorBase::printSummary(const ContainedPtr& p, const ContainerPtr& module, bool deprecated) |
| 565 | Slice::GeneratorBase::printSummary(const ContainedPtr& p, const ContainerPtr& module, bool deprecated, bool forIndex) |
566 | 566 | { |
567 | 567 | ContainerPtr container = ContainerPtr::dynamicCast(p); |
568 | 568 | if(!container) |
… |
… |
Slice::GeneratorBase::printSummary(const ContainedPtr& p, const ContainerPtr& mo |
575 | 575 | container = module; |
576 | 576 | } |
577 | 577 | |
578 | | string summary = getComment(p, container, true, module); |
| 578 | string summary = getComment(p, container, true, forIndex); |
579 | 579 | _out << nl << summary; |
580 | 580 | |
581 | 581 | if(deprecated) |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2042 | 2042 | end(); |
2043 | 2043 | start("dd"); |
2044 | 2044 | string metadata; |
2045 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2045 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2046 | 2046 | end(); |
2047 | 2047 | } |
2048 | 2048 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2071 | 2071 | end(); |
2072 | 2072 | start("dd"); |
2073 | 2073 | string metadata; |
2074 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2074 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2075 | 2075 | end(); |
2076 | 2076 | } |
2077 | 2077 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2092 | 2092 | end(); |
2093 | 2093 | start("dd"); |
2094 | 2094 | string metadata; |
2095 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2095 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2096 | 2096 | end(); |
2097 | 2097 | } |
2098 | 2098 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2115 | 2115 | end(); |
2116 | 2116 | start("dd"); |
2117 | 2117 | string metadata; |
2118 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2118 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2119 | 2119 | end(); |
2120 | 2120 | } |
2121 | 2121 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2138 | 2138 | end(); |
2139 | 2139 | start("dd"); |
2140 | 2140 | string metadata; |
2141 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2141 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2142 | 2142 | end(); |
2143 | 2143 | } |
2144 | 2144 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2161 | 2161 | end(); |
2162 | 2162 | start("dd"); |
2163 | 2163 | string metadata; |
2164 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2164 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2165 | 2165 | end(); |
2166 | 2166 | } |
2167 | 2167 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2184 | 2184 | end(); |
2185 | 2185 | start("dd"); |
2186 | 2186 | string metadata; |
2187 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2187 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2188 | 2188 | end(); |
2189 | 2189 | } |
2190 | 2190 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2207 | 2207 | end(); |
2208 | 2208 | start("dd"); |
2209 | 2209 | string metadata; |
2210 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2210 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2211 | 2211 | end(); |
2212 | 2212 | } |
2213 | 2213 | end(); |
… |
… |
Slice::ModuleGenerator::visitContainer(const ContainerPtr& p) |
2230 | 2230 | end(); |
2231 | 2231 | start("dd"); |
2232 | 2232 | string metadata; |
2233 | | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata)); |
| 2233 | printSummary(*q, p, (*q)->findMetaData("deprecate", metadata), true); |
2234 | 2234 | end(); |
2235 | 2235 | } |
2236 | 2236 | end(); |
… |
… |
Slice::ExceptionGenerator::generate(const ExceptionPtr& e) |
2427 | 2427 | end(); |
2428 | 2428 | start("dd"); |
2429 | 2429 | string metadata; |
2430 | | printSummary(*q, e, (*q)->findMetaData("deprecate", metadata)); |
| 2430 | printSummary(*q, e, (*q)->findMetaData("deprecate", metadata), false); |
2431 | 2431 | end(); |
2432 | 2432 | } |
2433 | 2433 | end(); |
… |
… |
Slice::ClassGenerator::generate(const ClassDefPtr& c) |
2557 | 2557 | end(); |
2558 | 2558 | start("dd"); |
2559 | 2559 | string metadata; |
2560 | | printSummary(*q, c, (*q)->findMetaData("deprecate", metadata)); |
| 2560 | printSummary(*q, c, (*q)->findMetaData("deprecate", metadata), false); |
2561 | 2561 | end(); |
2562 | 2562 | } |
2563 | 2563 | end(); |
… |
… |
Slice::ClassGenerator::generate(const ClassDefPtr& c) |
2578 | 2578 | end(); |
2579 | 2579 | start("dd"); |
2580 | 2580 | string metadata; |
2581 | | printSummary(*q, c, (*q)->findMetaData("deprecate", metadata)); |
| 2581 | printSummary(*q, c, (*q)->findMetaData("deprecate", metadata), false); |
2582 | 2582 | end(); |
2583 | 2583 | } |
2584 | 2584 | end(); |
… |
… |
Slice::StructGenerator::generate(const StructPtr& s) |
2739 | 2739 | end(); |
2740 | 2740 | start("dd"); |
2741 | 2741 | string metadata; |
2742 | | printSummary(*q, s, (*q)->findMetaData("deprecate", metadata)); |
| 2742 | printSummary(*q, s, (*q)->findMetaData("deprecate", metadata), false); |
2743 | 2743 | end(); |
2744 | 2744 | } |
2745 | 2745 | end(); |
diff --git a/cpp/src/slice2html/Gen.h b/cpp/src/slice2html/Gen.h
index 776035b..cacdd58 100644
old
|
new
|
protected: |
52 | 52 | |
53 | 53 | void printComment(const ContainedPtr&, const ContainerPtr&, const ::std::string&, bool = false); |
54 | 54 | void printMetaData(const ContainedPtr&); |
55 | | void printSummary(const ContainedPtr&, const ContainerPtr&, bool); |
| 55 | void printSummary(const ContainedPtr&, const ContainerPtr&, bool, bool); |
56 | 56 | |
57 | 57 | void printHeaderFooter(const ContainedPtr&); |
58 | 58 | void printSearch(); |