diff options
Diffstat (limited to 'tags/cpp-sca-20060405/tools/scagen/docs/api/org/apache/tuscany/sca/cpp/tools/common/Utils.html')
-rw-r--r-- | tags/cpp-sca-20060405/tools/scagen/docs/api/org/apache/tuscany/sca/cpp/tools/common/Utils.html | 411 |
1 files changed, 0 insertions, 411 deletions
diff --git a/tags/cpp-sca-20060405/tools/scagen/docs/api/org/apache/tuscany/sca/cpp/tools/common/Utils.html b/tags/cpp-sca-20060405/tools/scagen/docs/api/org/apache/tuscany/sca/cpp/tools/common/Utils.html deleted file mode 100644 index 8571178678..0000000000 --- a/tags/cpp-sca-20060405/tools/scagen/docs/api/org/apache/tuscany/sca/cpp/tools/common/Utils.html +++ /dev/null @@ -1,411 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> -<!--NewPage--> -<HTML> -<HEAD> -<!-- Generated by javadoc (build 1.4.2) on Tue Nov 29 10:12:02 GMT 2005 --> -<TITLE> -Utils (SCA for C++ Tools) -</TITLE> - -<META NAME="keywords" CONTENT="org.apache.tuscany.sca.cpp.tools.common.Utils class"> - -<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style"> - -<SCRIPT type="text/javascript"> -function windowTitle() -{ - parent.document.title="Utils (SCA for C++ Tools)"; -} -</SCRIPT> - -</HEAD> - -<BODY BGCOLOR="white" onload="windowTitle();"> - - -<!-- ========= START OF TOP NAVBAR ======= --> -<A NAME="navbar_top"><!-- --></A> -<A HREF="#skip-navbar_top" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_top_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Utils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Signature.html" title="class in org.apache.tuscany.sca.cpp.tools.common"><B>PREV CLASS</B></A> - NEXT CLASS</FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> - <A HREF="Utils.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- - if(window==top) { - document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); - } - //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_top"></A> -<!-- ========= END OF TOP NAVBAR ========= --> - -<HR> -<A NAME="main"></A> -<!-- ======== START OF CLASS DATA ======== --> -<H2> -<FONT SIZE="-1"> -org.apache.tuscany.sca.cpp.tools.common</FONT> -<BR> -Class Utils</H2> -<PRE> -java.lang.Object - <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tuscany.sca.cpp.tools.common.Utils</B> -</PRE> -<HR> -<DL> -<DT>public final class <B>Utils</B><DT>extends java.lang.Object</DL> - -<P> -Static utility methods. Some of these methods are similar to the methods on - java.lang.String except they are aware of C/C++ comments and string literals. - - TODO: Many of these methods would perform better using StringBuffer not - String -<P> - -<P> -<HR> - -<P> -<!-- ======== NESTED CLASS SUMMARY ======== --> - - -<!-- =========== FIELD SUMMARY =========== --> - -<A NAME="field_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN=2><FONT SIZE="+2"> -<B>Field Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static java.util.Set</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#cPrimitives">cPrimitives</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static java.util.Set</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#cTypeQualifiers">cTypeQualifiers</A></B></CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static java.lang.String</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#whitespace">whitespace</A></B></CODE> - -<BR> - </TD> -</TR> -</TABLE> - -<!-- ======== CONSTRUCTOR SUMMARY ======== --> - - -<!-- ========== METHOD SUMMARY =========== --> - -<A NAME="method_summary"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TH ALIGN="left" COLSPAN=2><FONT SIZE="+2"> -<B>Method Summary</B></FONT></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#outputDebugString(java.lang.String)">outputDebugString</A></B>(java.lang.String line)</CODE> - -<BR> - </TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#rude(java.lang.String)">rude</A></B>(java.lang.String reason)</CODE> - -<BR> - This method reports an error level problem</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#rude(java.lang.String, java.lang.String, int, java.lang.String)">rude</A></B>(java.lang.String reason, - java.lang.String filename, - int lineno, - java.lang.String codefragment)</CODE> - -<BR> - Failed to parse the source code for some reason.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static boolean</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#safeEquals(java.lang.Object, java.lang.Object)">safeEquals</A></B>(java.lang.Object o1, - java.lang.Object o2)</CODE> - -<BR> - A better method than .equals() because it doesn't NullPointerException - when one of the parameters is null.</TD> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> -<CODE>static void</CODE></FONT></TD> -<TD><CODE><B><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Utils.html#screenMessage(java.lang.String)">screenMessage</A></B>(java.lang.String msg)</CODE> - -<BR> - This method reports an error level problem</TD> -</TR> -</TABLE> - <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> -<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH> -</TR> -<TR BGCOLOR="white" CLASS="TableRowColor"> -<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> -</TR> -</TABLE> - -<P> - -<!-- ============ FIELD DETAIL =========== --> - -<A NAME="field_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TD COLSPAN=1><FONT SIZE="+2"> -<B>Field Detail</B></FONT></TD> -</TR> -</TABLE> - -<A NAME="cPrimitives"><!-- --></A><H3> -cPrimitives</H3> -<PRE> -public static final java.util.Set <B>cPrimitives</B></PRE> -<DL> -<DL> -</DL> -</DL> -<HR> - -<A NAME="cTypeQualifiers"><!-- --></A><H3> -cTypeQualifiers</H3> -<PRE> -public static final java.util.Set <B>cTypeQualifiers</B></PRE> -<DL> -<DL> -</DL> -</DL> -<HR> - -<A NAME="whitespace"><!-- --></A><H3> -whitespace</H3> -<PRE> -public static final java.lang.String <B>whitespace</B></PRE> -<DL> -<DL> -<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tuscany.sca.cpp.tools.common.Utils.whitespace">Constant Field Values</A></DL> -</DL> - -<!-- ========= CONSTRUCTOR DETAIL ======== --> - - -<!-- ============ METHOD DETAIL ========== --> - -<A NAME="method_detail"><!-- --></A> -<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> -<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> -<TD COLSPAN=1><FONT SIZE="+2"> -<B>Method Detail</B></FONT></TD> -</TR> -</TABLE> - -<A NAME="rude(java.lang.String, java.lang.String, int, java.lang.String)"><!-- --></A><H3> -rude</H3> -<PRE> -public static void <B>rude</B>(java.lang.String reason, - java.lang.String filename, - int lineno, - java.lang.String codefragment) - throws <A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/ParsingException.html" title="class in org.apache.tuscany.sca.cpp.tools.common">ParsingException</A></PRE> -<DL> -<DD>Failed to parse the source code for some reason. This method prints out a - suitably rude message, and then what? I haven't quite decided yet. - - TODO: Do something sensible here like throw an Exception which will give - up on this file completely and tidy up the output file. It may be just - too dangerous to try to carry on. But we need to fail in such a way that - the build system knows that we've failed for this file and can build this - file without trace. -<P> -<DD><DL> - -<DT><B>Throws:</B> -<DD><CODE><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/ParsingException.html" title="class in org.apache.tuscany.sca.cpp.tools.common">ParsingException</A></CODE></DL> -</DD> -</DL> -<HR> - -<A NAME="rude(java.lang.String)"><!-- --></A><H3> -rude</H3> -<PRE> -public static void <B>rude</B>(java.lang.String reason) - throws <A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/ParsingException.html" title="class in org.apache.tuscany.sca.cpp.tools.common">ParsingException</A></PRE> -<DL> -<DD>This method reports an error level problem -<P> -<DD><DL> -<DT><B>Parameters:</B><DD><CODE>reason</CODE> - why we have an error level problem -<DT><B>Throws:</B> -<DD><CODE><A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/ParsingException.html" title="class in org.apache.tuscany.sca.cpp.tools.common">ParsingException</A></CODE></DL> -</DD> -</DL> -<HR> - -<A NAME="screenMessage(java.lang.String)"><!-- --></A><H3> -screenMessage</H3> -<PRE> -public static void <B>screenMessage</B>(java.lang.String msg)</PRE> -<DL> -<DD>This method reports an error level problem -<P> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="safeEquals(java.lang.Object, java.lang.Object)"><!-- --></A><H3> -safeEquals</H3> -<PRE> -public static boolean <B>safeEquals</B>(java.lang.Object o1, - java.lang.Object o2)</PRE> -<DL> -<DD>A better method than .equals() because it doesn't NullPointerException - when one of the parameters is null. -<P> -<DD><DL> -</DL> -</DD> -</DL> -<HR> - -<A NAME="outputDebugString(java.lang.String)"><!-- --></A><H3> -outputDebugString</H3> -<PRE> -public static void <B>outputDebugString</B>(java.lang.String line)</PRE> -<DL> -<DD><DL> -</DL> -</DD> -</DL> -<!-- ========= END OF CLASS DATA ========= --> -<HR> - - -<!-- ======= START OF BOTTOM NAVBAR ====== --> -<A NAME="navbar_bottom"><!-- --></A> -<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> -<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> -<TR> -<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> -<A NAME="navbar_bottom_firstrow"><!-- --></A> -<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> - <TR ALIGN="center" VALIGN="top"> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> - <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Utils.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> - <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> - </TR> -</TABLE> -</TD> -<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> -</EM> -</TD> -</TR> - -<TR> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../../org/apache/tuscany/sca/cpp/tools/common/Signature.html" title="class in org.apache.tuscany.sca.cpp.tools.common"><B>PREV CLASS</B></A> - NEXT CLASS</FONT></TD> -<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> - <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A> - <A HREF="Utils.html" target="_top"><B>NO FRAMES</B></A> - <SCRIPT type="text/javascript"> - <!-- - if(window==top) { - document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); - } - //--> -</SCRIPT> -<NOSCRIPT> - <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A> -</NOSCRIPT> - -</FONT></TD> -</TR> -<TR> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> - SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> -<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> -DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> -</TR> -</TABLE> -<A NAME="skip-navbar_bottom"></A> -<!-- ======== END OF BOTTOM NAVBAR ======= --> - -<HR> - - <i>Copyright 2005 The Apache Software Foundation and Copyright IBM Corp. 2005 All Rights Reserved</i> -</BODY> -</HTML> |