summaryrefslogtreecommitdiff
path: root/TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp')
-rw-r--r--TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp b/TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp
index 46fd9b9ef3a..fd933464b03 100644
--- a/TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp
+++ b/TAO/CIAO/CCF/CCF/IDL2/SemanticGraph/Struct.cpp
@@ -3,7 +3,6 @@
// cvs-id : $Id$
#include "CCF/IDL2/SemanticGraph/Struct.hpp"
-#include "CCF/IDL2/SemanticGraph/Member.hpp"
namespace CCF
{
@@ -31,37 +30,6 @@ namespace CCF
TypeInfo const& Struct::
static_type_info () { return struct_; }
- bool Struct::
- complete () const
- {
- if (defined ())
- {
- CompilerElements::Context& ctx (
- const_cast<CompilerElements::Context&> (context ()));
-
- if (ctx.count ("struct-complete-test"))
- return true;
-
- ctx.set ("struct-complete-test", true);
- bool c (true);
-
- for (Scope::NamesIterator i (names_begin ());
- c && i != names_end ();
- ++i)
- {
- Member const& m (dynamic_cast<Member&> ((*i)->named ()));
- Type const& t (m.belongs ().type ());
-
- if (!t.complete ())
- c = false;
- }
-
- ctx.remove ("struct-complete-test");
- return c;
- }
-
- return false;
- }
}
}
}