OhObject クラスのメソッドは以下のとおりです。OhObject クラスの完全なメンバ一覧については、 OhObject メンバ のトピックを参照してください。
![]() | 当該クラスのについての情報を返します。 Returns the information string about this class. |
![]() | オーバーロード。 オブジェクト情報(所有者の情報を含まない)を出力します。 |
![]() | Returns the String aHead + _className + " " + _objectName + " " + _objectNumer + NEWLINE
| Yahoo a("yahoo", 0); | a.cPrintString(aSw, "+"); returns +Yahoo yahoo 0 |
![]() | オブジェクト名、オブジェクト番号を初期化します。 Initialization.
|
![]() | オーバーロード。 クラス名、オブジェクト名、オブジェクト番号に関するオブジェクトの比較を行ないます。 |
![]() | クラス名、オブジェクト名、オブジェクト番号についての情報を 文字列として返します。 Returns a String which contains the information about of _className, _objectName, and _objectNumber. |
![]() | オーバーロード。 オブジェクト情報(所有者の情報を含む)を出力します。 |
![]() | オブジェクト情報(所有者の情報を含む)を返します。 Returns a message string which contains the information about the OhObject object itself and its owner sequence. |
![]() | オブジェクトの所有関係を返します。 Returns a String representation of this object. 当該オブジェクトから出発し、_owner に格納されているオブジェ クトを辿り、_owner が null になるまでのオブジェクトの系列に ついて、各オブジェクトの _ className, _objectName, _objectNumber の情報を一行に書いた複数行の文字列を返します。 (参考) OhObject obj が toString() に対して返す複数行の 文字列の各行の行頭にタブを入れるには、Pattern p = Pattern.compile("^", Pattern.MULTILINE); Matcher matcher = p.matcher(obj.toString()); String output = matcher.replaceAll("\t");のようにします。output が目的の文字列です。 |
OhObject クラス | OhObject メンバ | OhymosNet 名前空間