CTR-Pia  5.4.3
Game Communication Engine
 全て クラス ネームスペース 関数 変数 型定義 列挙型 列挙型の値 ページ
session_ISessionInfoList.h
1 /*--------------------------------------------------------------------------------*
2  Copyright (C)Nintendo All rights reserved.
3 
4  These coded instructions, statements, and computer programs contain proprietary
5  information of Nintendo and/or its licensed developers and are protected by
6  national and international copyright laws. They may not be disclosed to third
7  parties or copied or duplicated in any form, in whole or in part, without the
8  prior written consent of Nintendo.
9 
10  The content herein is highly confidential and should be handled accordingly.
11  *--------------------------------------------------------------------------------*/
12 
13 
14 #pragma once
15 
16 #include <nn/pia/session/session_Definitions.h>
17 #include <nn/pia/session/session_ISessionInfo.h>
18 
19 namespace nn
20 {
21 namespace pia
22 {
23 namespace session
24 {
25 
26 /*!
27  @brief セッションの情報へのインターフェースのリストです。
28  */
30 {
31 public:
32  /*!
33  @brief デフォルトコンストラクタ
34  */
36  {
37  }
38  /*!
39  @brief デストラクタ
40  */
42  {
43  }
44 
45  typedef ISessionInfo** Iterator;
46  typedef const ISessionInfo** ConstIterator;
47 
48  /*!
49  @brief 先頭にある ISessionInfo* のイテレータを得ます(const版)。
50  @return 先頭にある要素のイテレータを返します。
51  */
52  virtual ConstIterator Begin() const = 0;
53  /*!
54  @brief 先頭にある ISessionInfo* のイテレータを得ます(非const版)。
55  @return 先頭にある要素のイテレータを返します。
56  */
57  virtual Iterator Begin() = 0;
58  /*!
59  @brief 末尾の次に対応する ISessionInfo* のイテレータを得ます(const版)。
60  @return 末尾の次に対応する要素のイテレータを返します。
61  */
62  virtual ConstIterator End() const = 0;
63  /*!
64  @brief 末尾の次に対応する ISessionInfo* のイテレータを得ます(非const版)。
65  @return 末尾の次に対応する要素のイテレータを返します。
66  */
67  virtual Iterator End() = 0;
68  /*!
69  @brief リスト内の要素数を取得します。
70  @return リスト内の要素数を返します。
71  */
72  virtual uint16_t GetSize() const = 0;
73  /*!
74  @brief リストの最大数を取得します。
75  @return リストの最大数を返します。
76  */
77  virtual uint16_t GetMaxSize() const = 0;
78  /*!
79  @brief リストをクリアします。
80  */
81  virtual void Clear() = 0;
82 };
83 }
84 }
85 } // end of namespace nn::pia::session