summaryrefslogtreecommitdiffstats
path: root/doc/html/tqmap-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:41:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:41:52 +0900
commit0e9cae00ef660b51955c7c9abfa7eb148d8bfab0 (patch)
tree6b46cc5b3ced64b9cba7b1293ada94bf5cfb2125 /doc/html/tqmap-h.html
parent1df9f282051905555d02d43069a2c9ca0cc89270 (diff)
downloadtqt-remove/tq-inline-template-define.tar.gz
tqt-remove/tq-inline-template-define.zip
Remove TQ_INLINE_TEMPLATES define.remove/tq-inline-template-define
inline' is redundant in function template definitions, except for specific template specialization Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqmap-h.html')
-rw-r--r--doc/html/tqmap-h.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/tqmap-h.html b/doc/html/tqmap-h.html
index 161cfe82c..21405dfa0 100644
--- a/doc/html/tqmap-h.html
+++ b/doc/html/tqmap-h.html
@@ -201,7 +201,7 @@ public:
};
template &lt;class K, class T&gt;
-TQ_INLINE_TEMPLATES int TQMapIterator&lt;K,T&gt;::inc()
+int TQMapIterator&lt;K,T&gt;::inc()
{
TQMapNodeBase* tmp = node;
if ( tmp-&gt;right ) {
@@ -222,7 +222,7 @@ TQ_INLINE_TEMPLATES int TQMapIterator&lt;K,T&gt;::inc()
}
template &lt;class K, class T&gt;
-TQ_INLINE_TEMPLATES int TQMapIterator&lt;K,T&gt;::dec()
+int TQMapIterator&lt;K,T&gt;::dec()
{
TQMapNodeBase* tmp = node;
if (tmp-&gt;color == TQMapNodeBase::Red &amp;&amp;
@@ -317,7 +317,7 @@ public:
};
template &lt;class K, class T&gt;
-TQ_INLINE_TEMPLATES int TQMapConstIterator&lt;K,T&gt;::inc()
+int TQMapConstIterator&lt;K,T&gt;::inc()
{
TQMapNodeBase* tmp = node;
if ( tmp-&gt;right ) {
@@ -338,7 +338,7 @@ TQ_INLINE_TEMPLATES int TQMapConstIterator&lt;K,T&gt;::inc()
}
template &lt;class K, class T&gt;
-TQ_INLINE_TEMPLATES int TQMapConstIterator&lt;K,T&gt;::dec()
+int TQMapConstIterator&lt;K,T&gt;::dec()
{
TQMapNodeBase* tmp = node;
if (tmp-&gt;color == TQMapNodeBase::Red &amp;&amp;
@@ -466,14 +466,14 @@ protected:
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQMapPrivate&lt;Key,T&gt;::TQMapPrivate() {
+TQMapPrivate&lt;Key,T&gt;::TQMapPrivate() {
header = new Node;
header-&gt;color = TQMapNodeBase::Red; // Mark the header
header-&gt;parent = 0;
header-&gt;left = header-&gt;right = header;
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQMapPrivate&lt;Key,T&gt;::TQMapPrivate( const TQMapPrivate&lt; Key, T &gt;* _map ) : TQMapPrivateBase( _map ) {
+TQMapPrivate&lt;Key,T&gt;::TQMapPrivate( const TQMapPrivate&lt; Key, T &gt;* _map ) : TQMapPrivateBase( _map ) {
header = new Node;
header-&gt;color = TQMapNodeBase::Red; // Mark the header
if ( _map-&gt;header-&gt;parent == 0 ) {
@@ -488,7 +488,7 @@ TQ_INLINE_TEMPLATES TQMapPrivate&lt;Key,T&gt;::TQMapPrivate( const TQMapPrivate&
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr TQMapPrivate&lt;Key,T&gt;::copy( TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr p )
+TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr TQMapPrivate&lt;Key,T&gt;::copy( TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr p )
{
if ( !p )
return 0;
@@ -510,7 +510,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr TQMapPrivate&
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMapPrivate&lt;Key,T&gt;::clear()
+void TQMapPrivate&lt;Key,T&gt;::clear()
{
clear( (NodePtr)(header-&gt;parent) );
header-&gt;color = TQMapNodeBase::Red;
@@ -520,7 +520,7 @@ TQ_INLINE_TEMPLATES void TQMapPrivate&lt;Key,T&gt;::clear()
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMapPrivate&lt;Key,T&gt;::clear( TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr p )
+void TQMapPrivate&lt;Key,T&gt;::clear( TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::NodePtr p )
{
while ( p != 0 ) {
clear( (NodePtr)p-&gt;right );
@@ -531,7 +531,7 @@ TQ_INLINE_TEMPLATES void TQMapPrivate&lt;Key,T&gt;::clear( TQ_TYPENAME TQMapPriv
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::ConstIterator TQMapPrivate&lt;Key,T&gt;::find(const Key&amp; k) const
+TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::ConstIterator TQMapPrivate&lt;Key,T&gt;::find(const Key&amp; k) const
{
TQMapNodeBase* y = header; // Last node
TQMapNodeBase* x = header-&gt;parent; // Root node.
@@ -554,7 +554,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::ConstIterator TQMapPr
}
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate&lt;Key,T&gt;::insertSingle( const Key&amp; k )
+TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate&lt;Key,T&gt;::insertSingle( const Key&amp; k )
{
// Search correct position in the tree
TQMapNodeBase* y = header;
@@ -585,7 +585,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate
template &lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate&lt;Key,T&gt;::insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key&amp; k )
+TQ_TYPENAME TQMapPrivate&lt;Key,T&gt;::Iterator TQMapPrivate&lt;Key,T&gt;::insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key&amp; k )
{
NodePtr z = new Node( k );
if (y == header || x != 0 || k &lt; key(y) ) {
@@ -784,7 +784,7 @@ private:
};
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQMap&lt;Key,T&gt;&amp; TQMap&lt;Key,T&gt;::operator= ( const TQMap&lt;Key,T&gt;&amp; m )
+TQMap&lt;Key,T&gt;&amp; TQMap&lt;Key,T&gt;::operator= ( const TQMap&lt;Key,T&gt;&amp; m )
{
m.sh-&gt;ref();
if ( sh-&gt;deref() )
@@ -794,7 +794,7 @@ TQ_INLINE_TEMPLATES TQMap&lt;Key,T&gt;&amp; TQMap&lt;Key,T&gt;::operator= ( cons
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::insert_pair TQMap&lt;Key,T&gt;::insert( const TQ_TYPENAME TQMap&lt;Key,T&gt;::value_type&amp; x )
+TQ_TYPENAME TQMap&lt;Key,T&gt;::insert_pair TQMap&lt;Key,T&gt;::insert( const TQ_TYPENAME TQMap&lt;Key,T&gt;::value_type&amp; x )
{
detach();
size_type n = size();
@@ -808,7 +808,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::insert_pair TQMap&lt;Key,T&g
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::erase( const Key&amp; k )
+void TQMap&lt;Key,T&gt;::erase( const Key&amp; k )
{
detach();
iterator it( sh-&gt;find( k ).node );
@@ -817,7 +817,7 @@ TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::erase( const Key&amp; k )
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::size_type TQMap&lt;Key,T&gt;::count( const Key&amp; k ) const
+TQ_TYPENAME TQMap&lt;Key,T&gt;::size_type TQMap&lt;Key,T&gt;::count( const Key&amp; k ) const
{
const_iterator it( sh-&gt;find( k ).node );
if ( it != end() ) {
@@ -832,7 +832,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::size_type TQMap&lt;Key,T&gt;
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES T&amp; TQMap&lt;Key,T&gt;::operator[] ( const Key&amp; k )
+T&amp; TQMap&lt;Key,T&gt;::operator[] ( const Key&amp; k )
{
detach();
TQMapNode&lt;Key,T&gt;* p = sh-&gt;find( k ).node;
@@ -842,7 +842,7 @@ TQ_INLINE_TEMPLATES T&amp; TQMap&lt;Key,T&gt;::operator[] ( const Key&amp; k )
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::clear()
+void TQMap&lt;Key,T&gt;::clear()
{
if ( sh-&gt;count == 1 )
sh-&gt;clear();
@@ -853,7 +853,7 @@ TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::clear()
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::iterator TQMap&lt;Key,T&gt;::insert( const Key&amp; key, const T&amp; value, bool overwrite )
+TQ_TYPENAME TQMap&lt;Key,T&gt;::iterator TQMap&lt;Key,T&gt;::insert( const Key&amp; key, const T&amp; value, bool overwrite )
{
detach();
size_type n = size();
@@ -864,7 +864,7 @@ TQ_INLINE_TEMPLATES TQ_TYPENAME TQMap&lt;Key,T&gt;::iterator TQMap&lt;Key,T&gt;:
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::remove( const Key&amp; k )
+void TQMap&lt;Key,T&gt;::remove( const Key&amp; k )
{
detach();
iterator it( sh-&gt;find( k ).node );
@@ -873,7 +873,7 @@ TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::remove( const Key&amp; k )
}
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::detachInternal()
+void TQMap&lt;Key,T&gt;::detachInternal()
{
sh-&gt;deref(); sh = new TQMapPrivate&lt;Key,T&gt;( sh );
}
@@ -881,7 +881,7 @@ TQ_INLINE_TEMPLATES void TQMap&lt;Key,T&gt;::detachInternal()
#ifndef TQT_NO_DATASTREAM
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQDataStream&amp; operator&gt;&gt;( TQDataStream&amp; s, TQMap&lt;Key,T&gt;&amp; m ) {
+TQDataStream&amp; operator&gt;&gt;( TQDataStream&amp; s, TQMap&lt;Key,T&gt;&amp; m ) {
m.clear();
TQ_UINT32 c;
s &gt;&gt; c;
@@ -897,7 +897,7 @@ TQ_INLINE_TEMPLATES TQDataStream&amp; operator&gt;&gt;( TQDataStream&amp; s, TQM
template&lt;class Key, class T&gt;
-TQ_INLINE_TEMPLATES TQDataStream&amp; operator&lt;&lt;( TQDataStream&amp; s, const TQMap&lt;Key,T&gt;&amp; m ) {
+TQDataStream&amp; operator&lt;&lt;( TQDataStream&amp; s, const TQMap&lt;Key,T&gt;&amp; m ) {
s &lt;&lt; (TQ_UINT32)m.size();
TQMapConstIterator&lt;Key,T&gt; it = m.begin();
for( ; it != m.end(); ++it )