Kaydet (Commit) 8dda7530 authored tarafından Nikolai Pretzell's avatar Nikolai Pretzell

Provide data types in Uses-page

üst ba4192cd
......@@ -2,9 +2,9 @@
*
* $RCSfile: ik_enum.hxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:11:51 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -100,6 +100,9 @@ struct xref : public ifc_ce::xref
static void Get_AsParameters(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
static void Get_AsDataTypes(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
};
struct doc : public ifc_ce::doc
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: ik_interface.hxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:11:58 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -114,6 +114,9 @@ struct xref : public ifc_ce::xref
static void Get_AsParameters(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
static void Get_AsDataTypes(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
#if 0
static void Get_UsingTypedefs( /// like: typedef sequence<i_ce.LocalName()> newNameSeq;
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: ik_struct.hxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:12:05 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -106,6 +106,9 @@ struct xref : public ifc_ce::xref
static void Get_AsParameters(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
static void Get_AsDataTypes(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
};
struct doc : public ifc_ce::doc
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: ik_typedef.hxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:12:08 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -99,6 +99,9 @@ struct xref : public ifc_ce::xref
static void Get_AsParameters(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
static void Get_AsDataTypes(
Dyn_CeIterator & o_result,
const CodeEntity & i_ce );
};
struct doc : public ifc_ce::doc
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: i_enum.cxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:12:43 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -163,8 +163,16 @@ xref::Get_AsParameters( Dyn_CeIterator & o_result,
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(enum_2s_AsParameters));
}
void
xref::Get_AsDataTypes( Dyn_CeIterator & o_result,
const CodeEntity & i_ce )
{
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(enum_2s_AsDataTypes));
}
} // namespace ifc_enum
} // namespace idl
} // namespace ary
......@@ -2,9 +2,9 @@
*
* $RCSfile: i_interface.cxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:12:47 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -199,6 +199,14 @@ xref::Get_AsParameters( Dyn_CeIterator & o_result,
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(interface_2s_AsParameters));
}
void
xref::Get_AsDataTypes( Dyn_CeIterator & o_result,
const CodeEntity & i_ce )
{
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(interface_2s_AsDataTypes));
}
#if 0
static void Get_UsingTypedefs( /// like: typedef sequence<i_ce.LocalName()> newNameSeq;
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: i_struct.cxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:12:59 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -180,6 +180,13 @@ xref::Get_AsParameters( Dyn_CeIterator & o_result,
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(struct_2s_AsParameters));
}
void
xref::Get_AsDataTypes( Dyn_CeIterator & o_result,
const CodeEntity & i_ce )
{
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(struct_2s_AsDataTypes));
}
} // namespace ifc_struct
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: i_typedef.cxx,v $
*
* $Revision: 1.1 $
* $Revision: 1.2 $
*
* last change: $Author: np $ $Date: 2002-11-01 17:13:02 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -164,6 +164,13 @@ xref::Get_AsParameters( Dyn_CeIterator & o_result,
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(typedef_2s_AsParameters));
}
void
xref::Get_AsDataTypes( Dyn_CeIterator & o_result,
const CodeEntity & i_ce )
{
o_result = new SCI_Vector<Ce_id>(i_ce.Secondaries().List(typedef_2s_AsDataTypes));
}
} // namespace ifc_typedef
......
......@@ -2,9 +2,9 @@
*
* $RCSfile: hi_main.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: np $ $Date: 2002-11-14 18:01:58 $
* last change: $Author: np $ $Date: 2002-11-29 10:20:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -500,6 +500,11 @@ MainDisplay_Idl::do_Interface2s( const ary::idl::CodeEntity & i_ce )
"Uses as Parameter",
"#Parameters",
*pXrefList );
ary::idl::ifc_interface::xref::Get_AsDataTypes(pXrefList,i_ce);
aUses.Produce_List(
"Uses as Data Type",
"#DataTypes",
*pXrefList );
aUses.Write_ManualLinks(i_ce);
}
......@@ -571,6 +576,11 @@ MainDisplay_Idl::do_Struct2s( const ary::idl::CodeEntity & i_ce )
"Uses as Parameter",
"#Parameters",
*pXrefList );
ary::idl::ifc_struct::xref::Get_AsDataTypes(pXrefList,i_ce);
aUses.Produce_List(
"Uses as Data Type",
"#DataTypes",
*pXrefList );
aUses.Write_ManualLinks(i_ce);
}
......@@ -636,6 +646,11 @@ MainDisplay_Idl::do_Enum2s( const ary::idl::CodeEntity & i_ce )
"Uses as Parameter",
"#Parameters",
*pXrefList );
ary::idl::ifc_enum::xref::Get_AsDataTypes(pXrefList,i_ce);
aUses.Produce_List(
"Uses as Data Type",
"#DataTypes",
*pXrefList );
aUses.Write_ManualLinks(i_ce);
}
......@@ -671,5 +686,11 @@ MainDisplay_Idl::do_Typedef2s( const ary::idl::CodeEntity & i_ce )
"Uses as Parameter",
"#Parameters",
*pXrefList );
ary::idl::ifc_typedef::xref::Get_AsDataTypes(pXrefList,i_ce);
aUses.Produce_List(
"Uses as Data Type",
"#DataTypes",
*pXrefList );
aUses.Write_ManualLinks(i_ce);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment