Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.Opens in a new tab

For information on migrating to InterSystems IRISOpens in a new tab, see Why Migrate to InterSystems IRIS?

接続および継承されるプロキシ・クラスのリファレンス

この章では、プロキシ・クラスと Caché データベースとの対話方法について理解するための最も重要なクラスについて説明します。

プロキシ・ベース・クラス

以下のクラスを使用できます。

  • Persistent_t — ほとんどの永続プロキシ・クラスの生成に使用されるベース・クラスです。

  • Registered_t — すべてのシリアル・プロキシ・クラスの生成に使用されるベース・クラスです。

  • LC_Persistent_tLight C++ バインディングの永続プロジェクション・クラスの生成に使用されるベース・クラスです。

  • LC_Serial_tLight C++ バインディングのシリアル・プロジェクション・クラスの生成に使用されるベース・クラスです。

InterSystems::Persistent_t クラス

永続プロキシ・クラスの生成に使用されるベース・クラスです。Registered_t から継承されます。

コンストラクタ

Persistent_t()

コンストラクタは PROTECTED メンバ関数です ("標準のプロキシ・クラス・メソッド" を参照してください)。

   InterSystems::Persistent_t::Persistent_t
   ( ) [inline, protected] 

メンバ・リスト

_delete()

   d_status Persistent_t::_delete
   (  Database * db, 
      const d_binary & oid, 
      int conc = -1 
   ) [static]
_is_null()

   bool InterSystems::Obj_t::_is_null
   (  ) const [inline, inherited]
create_new()

   static d_ref<Registered_t> InterSystems::Registered_t::create_new
   (  Database * db, 
      const_str_t init_val = 0,   // const_str_t is a typedef of const wchar_t*
      Db_err * err = 0 
   ) [inline, static, inherited]
delete_id()

   d_status Persistent_t::delete_id
   (  Database * db, 
      const_name_t cl_name,    // const_name_t is a typedef for const wchar_t*
      const_str_t id,          // const_str_t is a typedef of const wchar_t*
      int conc = -1 
   ) [static]
downgrade_concurrency()

   d_status Persistent_t::downgrade_concurrency
   (  int conc )
exists_id()

   bool Persistent_t::exists_id
   (  Database * db, 
      const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      const_str_t id          // const_str_t is a typedef of const wchar_t*
   ) [static]
get_cl_name()

   const wchar_t* InterSystems::Obj_t::get_cl_name
   (  ) const [inline, inherited]
get_db()

   Database* InterSystems::Obj_t::get_db
   (  ) const [inline, inherited]
get_id()

   d_string Persistent_t::get_id
   (  ) const
get_ref()

   int InterSystems::Obj_t::get_ref
   (  ) const [inline, inherited]
get_val()

   const Oref_t& InterSystems::Obj_t::get_val
   (  ) const [inline, inherited]
id()

   d_string Persistent_t::id
   (  ) const
oid()

   d_oid InterSystems::Persistent_t::oid
   (  ) const [inline]
openref()

   static d_ref<Registered_t> InterSystems::Registered_t::openref
   (  Database * db, 
      int oref, 
      const_name_t cl_name    // const_name_t is a typedef for const wchar_t*
   ) [inline, static, inherited]
   static d_ref<Registered_t> InterSystems::Registered_t::openref
   (  t_istream & in, 
      Database * db 
   ) [inline, static, inherited]
reload()

   d_status Persistent_t::reload
   (  )
save()

   d_status Persistent_t::save
   (  int related = 1 ) const
to_xml()

   void InterSystems::Obj_t::to_xml
   (  xml_writer & out ) [inline, inherited]
upgrade_concurrency()

   d_status Persistent_t::upgrade_concurrency
   (  int conc )

InterSystems::Registered_t クラス

すべてのシリアル・プロキシ・クラスの生成に使用されるベース・クラスです。

コンストラクタ

Registered_t()

コンストラクタは PROTECTED メンバ関数です ("標準のプロキシ・クラス・メソッド" を参照してください)。

   InterSystems::Registered_t::Registered_t
   ( ) [inline, protected] 

メンバ・リスト

_is_null()

   bool InterSystems::Obj_t::_is_null
   (  ) const [inline, inherited] 
get_cl_name()

   const wchar_t* InterSystems::Obj_t::get_cl_name
   (  ) const [inline, inherited] 
create_new()

   static d_ref&lt;Registered_t> InterSystems::Registered_t::create_new
   (  Database * db, 
      const_str_t init_val = 0,    // const_str_t is a typedef of const wchar_t*
      Db_err * err = 0 
   ) [inline, static] 
get_db()

   Database* InterSystems::Obj_t::get_db
   (  ) const [inline, inherited] 
get_ref()

   int InterSystems::Obj_t::get_ref
   (  ) const [inline, inherited] 
get_val()

   const Oref_t& InterSystems::Obj_t::get_val
   (  ) const [inline, inherited] 
openref()

   static d_ref&lt;Registered_t> InterSystems::Registered_t::openref
   (  Database * db, 
      int oref, 
      const_name_t cl_name    // const_name_t is a typedef for const wchar_t*
   ) [inline, static] 
   static d_ref&lt;Registered_t> InterSystems::Registered_t::openref
   (  t_istream & in, 
      Database * db 
   ) [inline, static] 
to_xml()

   void InterSystems::Obj_t::to_xml
   (  xml_writer & out ) [inline, inherited] 

InterSystems::LC_Persistent_t クラス

Light C++ バインディングの永続クラスの生成に使用されるベース・クラスです。このクラスは、Light C++ バインディング・アプリケーションでのみ使用可能です。

コンストラクタ

LC_Persistent_t

両コンストラクタは共に PROTECTED メンバ関数です ("標準のプロキシ・クラス・メソッド" を参照してください)。

   LC_Persistent_t::LC_Persistent_t
   ( ) [inline, protected]
   LC_Persistent_t::LC_Persistent_t
   (  Database * db,
      int  oref,
      const wchar_t * cl_name 
   ) [inline, protected]

メンバ・リスト

_is_null()

使用しません (インターシステムズ内部での使用専用に予約されています)。

connect()

   void LC_Persistent_t::connect
   (  LC_Database * db ) 
detach()

   void LC_Persistent_t::detach ( ) 
disconnect()

   void LC_Persistent_t::disconnect ( ) 
get_cl_name()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_classname()

   virtual const unsigned char* LC_Persistent_t::get_classname
   (  ) const [pure virtual] 
get_classname_length()

   virtual int LC_Persistent_t::get_classname_length
   (  ) const [pure virtual] 
get_db()

   Database* InterSystems::Obj_t::get_db
   (  ) const [inline, inherited] 
get_ref()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_val()

使用しません (インターシステムズ内部での使用専用に予約されています)。

has_idkey()

   virtual DLL_DECL bool LC_Persistent_t::has_idkey
   (  ) [inline, virtual] 
id()

   const wchar_t * LC_Persistent_t::id
   (  ) const [inline] 
   int LC_Persistent_t::id
   (  char * buf, 
      size_t bufsiz 
   ) [inline] 
   int LC_Persistent_t::id
   (  wchar_t * buf, 
      size_t bufsiz 
   ) [inline] 
id_is_uni()

   bool LC_Persistent_t::id_is_uni
   (  ) const [inline] 
insert()

   d_status LC_Persistent_t::insert
   (  bool defer_indices = false, 
      int timeout = -1, 
      Db_err * err = 0 )
is_attached()

   bool LC_Persistent_t::is_attached
   (  ) [inline] 
is_connected()

   bool LC_Persistent_t::is_connected
   (  ) [inline] 
save()

   virtual DLL_DECL d_status LC_Persistent_t::save
   (  bool defer_indices = false, 
      int timeout = -1, 
      Db_err * err = 0 
   ) [pure virtual] 
serialize()

   virtual DLL_DECL void LC_Persistent_t::serialize
   (  lc_dlist_out * , 
      LC_Database * 
   ) [inline, virtual] 
serialize_idkey()

   virtual DLL_DECL void LC_Persistent_t::serialize_idkey
   (  lc_dlist_out * , 
      LC_Database * 
   ) [inline, virtual] 
set_id_from_properties()

   virtual DLL_DECL void LC_Persistent_t::set_id_from_properties
   (  ) [inline, virtual] 
to_xml()

使用しません (インターシステムズ内部での使用専用に予約されています)。

unlock()

   virtual void LC_Persistent_t::unlock
   (  ) [pure virtual] 
update()

   d_status LC_Persistent_t::update
   (  bool defer_indices = false, 
      int timeout = -1, 
      Db_err * err = 0 )

InterSystems::LC_Serial_t クラス

Light C++ バインディングのシリアル・クラスの生成に使用されるベース・クラスです。このクラスは、Light C++ バインディング・アプリケーションでのみ使用可能です。

コンストラクタ

LC_Serial_t()

コンストラクタは PROTECTED メンバ関数です ("標準のプロキシ・クラス・メソッド" を参照してください)。

   InterSystems::LC_Serial_t::LC_Serial_t
   ( ) [inline, protected] 

メンバ・リスト

dirty()

   bool LC_Serial_t::dirty 
   (  ) const [inline]
getProperties()

   virtual void  LC_Serial_t::getProperties
   (  lc_dlist_in &in,
      bool unicode_srv
   )=0 [pure virtual]
serialize()

   virtual void LC_Serial_t::serialize
   (  lc_dlist_out *outlist,
      LC_Database *db
   )=0 [pure virtual]
set_clean()

   void LC_Serial_t::set_clean
   (  ) [inline]
set_dirty()

   void LC_Serial_t::set_dirty
   (  ) [inline]

データベース・クラス

以下のデータベース・クラスを使用できます。

InterSystems::Database クラス

標準の Caché C++ バインディングで使用されるデータベース・クラスです。

コンストラクタ

Database()

   Database::Database
   (  const d_connection &  conn,
      bool use_cache = true,
      bool is_lc_db = false )

メンバ・リスト

del_obj()

   void InterSystems::Database::del_obj
   (  const d_binary & oid,
      int concurrency
   ) [inline]
get_class_global_info()

   t_istream & Database::get_class_global_info
   (  const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      cl_meta_info_kind info_kind )
get_class_info()

   t_istream & Database::get_class_info
   (  const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      cl_meta_info_kind info_kind )
get_classes_info()

   t_istream & Database::get_classes_info
   (  const char * msg,
      const std::vector&lt; std::wstring > & cl_names )
get_coln_property()

   void Database::get_coln_property
   (  int oref,
      const_name_t prop_name,   // const_name_t is a typedef for const wchar_t*
      int ii,
      int idx,
      d_double & res )
   void Database::get_coln_property
   (  int oref,
      const_name_t prop_name,
      int ii,
      int idx,
      d_int & res )
   void Database::get_coln_property
   (  int oref,
      const_name_t prop_name,
      int ii,
      int idx,
      d_string & val )
get_conn()

   d_connection InterSystems::Database::get_conn
   ( ) [inline]
get_hdbc()

   HDBC InterSystems::Database::get_hdbc
   ( ) [inline]
get_indexes_info()

   t_istream & Database::get_indexes_info
   (  const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      cl_meta_info_kind info_kind )
get_job_id()

   int InterSystems::Database::get_job_id
   ( ) [inline]
get_lc_class_info()

   t_istream & Database::get_lc_class_info
   (  const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      cl_meta_info_kind info_kind )
get_methods()

   t_istream & Database::get_methods
   (  const_name_t class_name )   // const_name_t is a typedef for const wchar_t*
get_nsp()

   const d_string& InterSystems::Database::get_nsp
   ( ) const [inline]
get_oid()

   d_oid Database::get_oid
   (  int oref )
get_properties()

   t_istream & Database::get_properties
   (  const_name_t class_name )   // const_name_t is a typedef for const wchar_t*
get_property()

   t_istream & Database::get_property
   (  int oref,
      int ii,
      int jj,
      d_type_id type_id,
      const_name_t name )   // const_name_t is a typedef for const wchar_t*
   void Database::get_property
   (  int oref,
      const_name_t prop_name,
      int ii,
      int jj,
      Args_mgr & args_mgr )
get_proxies_info()

   Proxies_info* InterSystems::Database::get_proxies_info
   ( ) [inline]
get_queries()

   t_istream & Database::get_queries
   (  const_name_t class_name )   // const_name_t is a typedef for const wchar_t*
get_query_info()

   t_istream & Database::get_query_info
   (  const wchar_t * class_name,
      const wchar_t * query_name )
get_run_mtd_level()

   int InterSystems::Database::get_run_mtd_level
   ( ) const [inline]
get_serialization_info()

   t_istream & Database::get_serialization_info
   (  const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      cl_meta_info_kind info_kind )
get_srv_ver()

   double InterSystems::Database::get_srv_ver
   ( ) const [inline]
get_status_info()

   void Database::get_status_info
   (  const d_status & status,
      d_int & code,
      d_string & msg,
      const char * lang = "",
      Db_err * err = 0 )
get_term_input_callback()

   db_input_callback* InterSystems::Database::get_term_input_callback
   ( ) [inline]
get_term_output()

   db_output& InterSystems::Database::get_term_output
   ( ) [inline]
init_coln()

   template<typename C>
   void InterSystems::Database::init_coln
   (  int oref,
      C & coln
   ) [inline]
make_obj()

   t_istream & Database::make_obj
   (  const_name_t type_name,      // const_name_t is a typedef for const wchar_t*
      const_str_t init_val = 0,    // const_str_t is a typedef of const wchar_t*
      Db_err * err = 0 )
open_cl_def()

   const Class_def* InterSystems::Database::open_cl_def
   (  const_name_t class_name,   // const_name_t is a typedef for const wchar_t*
      bool check_exists = false
   ) [inline]
openid_obj()

   t_istream & Database::open_obj
   (  const d_binary & oid,
      int concurrency = -1,
      int timeout = -1,
      Db_err * err = 0 )
   t_istream & Database::openid_obj
   (  const_name_t name,      // const_name_t is a typedef for const wchar_t*
      const_str_t id,         // const_str_t is a typedef of const wchar_t*
      int concurrency = -1,
      int timeout = -1,
      Db_err * err = 0 )
reset_term_input_callback()

   void InterSystems::Database::reset_term_input_callback
   ( ) [inline]
reset_term_output_callback()

   void InterSystems::Database::reset_term_output_callback
   ( ) [inline]
run_method()

   t_istream & Database::run_method
   (  int obj_ref,
      const_name_t cl_name,   // const_name_t is a typedef for const wchar_t*
      const_name_t mtd_name,
      D_type ** args,
      int num_args,
      const int * refs,
      int num_refs,
      d_type_id ret_t )
   void Database::run_method
   (  int oref,
      const_name_t cl_name,
      const_name_t mtd_name,
      Args_mgr & args_mgr )
set_property()

   void Database::set_property
   (  int oref,
      const_name_t prop_name,   // const_name_t is a typedef for const wchar_t*
      int ii,
      int jj,
      int mod_flag,
      Args_mgr & args_mgr )
   void Database::set_property
   (  int oref,
      int ii,
      int jj,
      int mod_flag,
      const_name_t name,   // const_name_t is a typedef for const wchar_t*
      D_type * val )
set_term_input_callback()

   void InterSystems::Database::set_term_input_callback
   (  db_input_callback * f ) [inline]
set_term_output_callback()

   void InterSystems::Database::set_term_output_callback
   (  db_output_callback * f ) [inline]
sync()

   void Database::sync ( )
tcommit()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::tcommit
   (  Db_err * err = 0 ) [inline]
tlevel()

使用例は、"トランザクションの使用法" を参照してください。

   int InterSystems::Database::tlevel
   (  Db_err * err = 0 ) [inline]
trollback()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::trollback
   (  Db_err * err = 0 ) [inline]
tstart()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::tstart
   (  Db_err * err = 0 ) [inline]
unicode_srv()

   bool InterSystems::Database::unicode_srv
   ( ) const [inline]

InterSystems::LC_Database クラス

Light C++ バインディングで使用されるデータベース・クラスです。このクラスは、Light C++ バインディング・アプリケーションでのみ使用可能です。

コンストラクタ

LC_Database()

   InterSystems::LC_Database::LC_Database
   (  const d_connection & conn,
      bool use_cache = true
   ) [inline] 

メンバ・リスト

add_key_prop()

使用しません (インターシステムズ内部での使用専用に予約されています)。

build_indexes()

   void LC_Database::build_indexes
   (  const unsigned char * classname,
      int classname_length )
check_thread()

使用しません (インターシステムズ内部での使用専用に予約されています)。

create_index_entry()

使用しません (インターシステムズ内部での使用専用に予約されています)。

cvtForCollation()

使用しません (インターシステムズ内部での使用専用に予約されています)。

del_obj()

使用しません (インターシステムズ内部での使用専用に予約されています)。

delete_direct()

使用しません (インターシステムズ内部での使用専用に予約されています)。

delete_index_entry()

使用しません (インターシステムズ内部での使用専用に予約されています)。

delete_object()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_coln_property()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_conn()

   d_connection InterSystems::Database::get_conn
   ( ) [inline, inherited]
get_default_concurrency_level()

   int InterSystems::LC_Database::get_default_concurrency_level
   ( ) [inline]
get_default_max_locks()

   int InterSystems::LC_Database::get_default_max_locks
   ( ) [inline]
get_default_timeout()

   int InterSystems::LC_Database::get_default_timeout
   ( ) [inline]
get_hdbc()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_idkey_out_list()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_in_list()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_indexes_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_job_id()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_lc_class_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_methods()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_nsp()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_oid()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_out_list()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_properties()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_property()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_proxies_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_queries()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_query_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_run_mtd_level()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_serialization_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_srv_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_srv_ver()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_status_info()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_term_input_callback()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_term_output()

使用しません (インターシステムズ内部での使用専用に予約されています)。

init_coln()

使用しません (インターシステムズ内部での使用専用に予約されています)。

lc_batch_save()

   void LC_Database::lc_batch_save
   (  int num_objs,
      lc_nested_list_iterator & buf,
      std::vector&lt; std::pair&lt; d_status, d_binary > > & errors,
      std::vector&lt; d_string > & ids,
      const unsigned char * classname,
      int classname_length,
      int concurrency = -1,
      bool use_idkeys = false,
      bool return_ids = false,
      byte_size_t cap = 0,
      bool do_tx = true )
lc_openid_obj()

使用しません (インターシステムズ内部での使用専用に予約されています)。

make_obj()

使用しません (インターシステムズ内部での使用専用に予約されています)。

open_cl_def()

使用しません (インターシステムズ内部での使用専用に予約されています)。

open_obj()

使用しません (インターシステムズ内部での使用専用に予約されています)。

openid_obj()

使用しません (インターシステムズ内部での使用専用に予約されています)。

reset()

使用しません (インターシステムズ内部での使用専用に予約されています)。

reset_idkey_props()

使用しません (インターシステムズ内部での使用専用に予約されています)。

reset_term_input_callback()

使用しません (インターシステムズ内部での使用専用に予約されています)。

reset_term_output_callback()

使用しません (インターシステムズ内部での使用専用に予約されています)。

run_method()

使用しません (インターシステムズ内部での使用専用に予約されています)。

save()

使用しません (インターシステムズ内部での使用専用に予約されています)。

save_direct()

このメソッドを、Light C++ バインディング・プロジェクション・クラスで使用される direct_save() メソッドと混同しないでください ("標準の LCB プロジェクション・クラス・メソッド" を参照してください)。

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_key_props_id()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_key_props_index()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_lcb_option ()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_property()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_term_input_callback()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_term_output_callback()

使用しません (インターシステムズ内部での使用専用に予約されています)。

sync()

使用しません (インターシステムズ内部での使用専用に予約されています)。

tcommit()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::tcommit
   (  Db_err * err = 0) [inline, inherited]
time_to_string()

   void LC_Database::time_to_string
   (  d_time & in,
      d_string & out )
timestamp_to_string()

   void LC_Database::timestamp_to_string
   (  d_timestamp & in,
      d_string & out )
tlevel()

使用例は、"トランザクションの使用法" を参照してください。

   int InterSystems::Database::tlevel
   (  Db_err * err = 0) [inline, inherited]
transaction()

使用例は、"トランザクションの使用法" を参照してください。

   void LC_Database::transaction
   (  trans_flag_t flag,
      Db_err * err,
      int * level = 0
   ) [virtual]
trollback()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::trollback
   (  Db_err * err = 0) [inline, inherited]
tstart()

使用例は、"トランザクションの使用法" を参照してください。

   void InterSystems::Database::tstart
   (  Db_err * err = 0) [inline, inherited]
unicode_srv()

   bool InterSystems::Database::unicode_srv
   ( ) const [inline, inherited]
unlock()

使用しません (インターシステムズ内部での使用専用に予約されています)。

unlock_after_delete()

使用しません (インターシステムズ内部での使用専用に予約されています)。

接続クラス

以下の接続クラスを使用できます。

  • d_connectionConn_t クラス・インスタンスへのスマート・ポインタとして動作します。

  • Conn_t — ベースとなる接続クラスです。

  • tcp_conn — 標準のバインディングで使用される接続クラスです。

  • lc_connLight C++ バインディング・アプリケーションでのみ使用される接続クラスです。

d_connection クラス

d_connection は、Conn_t クラス・インスタンスへのスマート・ポインタとして動作するプロキシ・クラスです。詳細は、"Caché データベースへの接続" を参照してください。

InterSystems::Conn_t クラス

ベースとなる接続クラスです。このクラスに直接アクセスするのではなく、常に d_connection を使用します。

コンストラクタ

Conn_t()

   InterSystems::Conn_t::Conn_t ( ) [inline]

メンバ・リスト

alloc_messenger()

   virtual int InterSystems::Conn_t::alloc_messenger
   (  void ** ppm) [inline, virtual] 
free_messenger()

   virtual int InterSystems::Conn_t::free_messenger
   (  void * pm) [inline, virtual] 
get_thread_check()

   virtual LC_Thread_Check* InterSystems::Conn_t::get_thread_check
   ( ) const [inline, virtual] 
is_busy()

   bool InterSystems::Conn_t::is_busy
   ( ) const [inline] 
is_connected()

   bool InterSystems::Conn_t::is_connected
   ( ) const [inline] 
is_uni_srv()

   bool InterSystems::is_uni_srv_info::is_uni_srv
   ( ) const [inline, inherited] 
lock()

   void InterSystems::Conn_t::lock
   ( ) [inline] 
release_to_pool()

   virtual void InterSystems::Conn_t::release_to_pool
   ( ) [inline, virtual] 
set_uni_srv()

   void InterSystems::is_uni_srv_info::set_uni_srv
   (  bool val) [inline, inherited] 
unlock()

   void InterSystems::Conn_t::unlock
   ( ) [inline] 

InterSystems::tcp_conn クラス

標準の Caché C++ バインディング用の接続クラスです。Conn_t から継承され、TCP/IP を使用して接続を実装します。

コンストラクタ

tcp_conn()

   InterSystems::tcp_conn::tcp_conn ( ) [inline] 

メンバ・リスト

alloc_messenger()

   int tcp_conn::alloc_messenger
   (  void ** ppm) [virtual] 
connect()

   d_connection tcp_conn::connect
   (  const d_string & conn_str, 
      const d_string & srv_principal_name, 
      int security_level, 
      int timeout = 0, 
      Db_err * err = 0 
   ) [static] 
   d_connection tcp_conn::connect
   (  const d_string & conn_str, 
      const d_string & user, 
      const d_string & pwd, 
      int timeout = 0, 
      Db_err * err = 0 
   ) [static] 
free_messenger()

   int tcp_conn::free_messenger
   (  void * pm) [virtual] 
get_connection()

   d_connection tcp_conn::get_connection
   (  const d_string & conn_str, 
      const d_string & user, 
      const d_string & pwd, 
      int timeout = 0, 
      Db_err * err = 0 
   ) [static] 
get_namespaces()

   void tcp_conn::get_namespaces
   (  const wchar_t * host, 
      const wchar_t * port, 
      const wchar_t * srv_principal_name, 
      int security_level, 
      int timeout, 
      std::list&lt; std::wstring > & res, 
      Conn_err * err = 0 
   ) [static] 
   void tcp_conn::get_namespaces
   (  const wchar_t * host, 
      const wchar_t * port, 
      const wchar_t * user, 
      const wchar_t * pwd, 
      int timeout, 
      std::list&lt; std::wstring > & res, 
      Conn_err * err = 0 
   ) [static] 
get_thread_check()

   LC_Thread_Check* InterSystems::tcp_conn::get_thread_check
   ( ) const [inline, virtual] 
is_busy()

   bool InterSystems::Conn_t::is_busy
   ( ) const [inline, inherited] 
is_connected()

   bool InterSystems::Conn_t::is_connected
   ( ) const [inline, inherited] 
is_uni_srv()

   bool InterSystems::is_uni_srv_info::is_uni_srv
   ( ) const [inline, inherited] 
lock()

   void InterSystems::Conn_t::lock
   ( ) [inline, inherited] 
parse_conn_str()

   void Conn_t::parse_conn_str
   (  const std::wstring & conn_str, 
      std::wstring * host, 
      std::wstring * port, 
      std::wstring * nsp 
   ) [static, protected, inherited] 
set_uni_srv()

   void InterSystems::is_uni_srv_info::set_uni_srv
   (  bool val) [inline, inherited] 
unlock()

   void InterSystems::Conn_t::unlock
   ( ) [inline, inherited] 

InterSystems::lc_conn クラス

Light C++ バインディング用の接続クラスです。Conn_t から継承され、プロセス間通信を使用して接続を実装します。このクラスは、Light C++ バインディング・アプリケーションでのみ使用可能です。

コンストラクタ

lc_conn()

   lc_conn::lc_conn ( ) [inline]

メンバ・リスト

alloc_messenger()

使用しません (インターシステムズ内部での使用専用に予約されています)。

connect()

   static d_connection lc_conn::connect
   (  const d_string & conn_str, 
      const d_string & user, 
      const d_string & pwd, 
      int timeout = 0, 
      Db_err * err = 0 
   ) [inline, static] 
disconnect()

   void lc_conn::disconnect
   ( ) [virtual] 
free_messenger()

使用しません (インターシステムズ内部での使用専用に予約されています)。

get_thread_check()

使用しません (インターシステムズ内部での使用専用に予約されています)。

is_busy()

使用しません (インターシステムズ内部での使用専用に予約されています)。

is_connected()

使用しません (インターシステムズ内部での使用専用に予約されています)。

is_uni_srv()

   bool InterSystems::is_uni_srv_info::is_uni_srv
   ( ) const [inline, inherited] 
lock()

使用しません (インターシステムズ内部での使用専用に予約されています)。

release_to_pool()

使用しません (インターシステムズ内部での使用専用に予約されています)。

set_uni_srv()

使用しません (インターシステムズ内部での使用専用に予約されています)。

unlock()

使用しません (インターシステムズ内部での使用専用に予約されています)。

オブジェクト参照クラス

以下のクラスを使用できます。

  • d_ref<T> — 標準のバインディングで使用される参照クラス・テンプレートです。

  • lc_d_ref<T>Light C++ バインディング・アプリケーションでのみ使用される参照クラス・テンプレートです。

Template InterSystems::d_ref<T> クラス

このクラスの詳細は、"プロキシ・クラスの生成" および "プロキシ・オブジェクトの使用法" を参照してください。

コンストラクタ

d_ref()

   template<class T>
   InterSystems::d_ref< T >::d_ref
   ( ) [inline] 
   template<class T>
   InterSystems::d_ref< T >::d_ref
   (  T * p) [inline] 
   template<class T>
   InterSystems::d_ref< T >::d_ref
   (  bool dummy, 
      T * p 
   ) [inline] 
   template<class T>
   InterSystems::d_ref< T >::d_ref
   (  T * p, 
      int * ref_cnt 
   ) [inline] 
   template<class T>
   InterSystems::d_ref< T >::d_ref
   (  bool dummy, 
      T * p, 
      int * ref_cnt 
   ) [inline] 
   template<class T>
   template<typename P>
   InterSystems::d_ref< T >::d_ref
   (  const d_ref< P > & p) [inline] 
   template<class T>
   InterSystems::d_ref< T >::d_ref
   (  const d_ref< T > & r) [inline] 

メンバ・リスト

conv_to()

   template<class T> 
   template<typename P> 
   void InterSystems::d_ref< T >::conv_to
   (  d_ref< P > & res) [inline] 
get()

   template<typename T> 
   void InterSystems::d_ref< T >::get
   (  t_istream & in, Database * db) [virtual] 
   void D_type::get
   (  char * buf, 
      byte_size_t size, 
      Database * db = 0 
   ) [inherited] 
get_conv_ptr()

   template<class T> 
   const T* InterSystems::d_ref< T >::get_conv_ptr
   ( ) const [inline] 
get_cpp_type()

   static SQLSMALLINT InterSystems::abs_d_ref::get_cpp_type
   ( ) [inline, static, inherited] 
get_data()

   void D_type::get_data
   (  d_seq_query & query) [virtual, inherited] 
get_ignore_null()

   static bool InterSystems::D_type::get_ignore_null
   ( ) [inline, static, inherited] 
get_is_lc_dref()

   bool InterSystems::abs_d_ref::get_is_lc_dref
   ( ) const [inline, inherited] 
get_oref_n_name()

   void abs_d_ref::get_oref_n_name
   (  t_istream & in, 
      int * oref, 
      cl_name_t name 
   ) [static, inherited] 
get_type_id()

   d_type_id InterSystems::abs_d_ref::get_type_id
   ( ) const [inline, virtual, inherited] 
is_null()

   bool InterSystems::D_type::is_null
   ( ) const [inline, inherited] 
is_obj()

   bool InterSystems::D_type::is_obj
   ( ) const [inline, inherited] 
make_not_null()

   void InterSystems::D_type::make_not_null
   ( ) [inline, inherited] 
make_null()

   void InterSystems::abs_d_ref::make_null
   ( ) [inline, virtual, inherited] 
make_undef()

   void InterSystems::D_type::make_undef
   ( ) [inline, inherited] 
operator !=

   bool InterSystems::abs_d_ref::operator!=
   (  const abs_d_ref & r) const [inline, inherited] 
operator ->

   template<class T> 
   T* InterSystems::d_ref< T >::operator->
   ( ) const [inline] 
operator =

   template<class T> 
   template<typename P> 
   d_ref& InterSystems::d_ref< T >::operator=
   (  const d_ref< P > & p) [inline] 
operator ==

   bool InterSystems::abs_d_ref::operator==
   (  const abs_d_ref & r) const [inline, inherited] 
operator *

   template<class T> 
   T& InterSystems::d_ref< T >::operator *
   ( ) const [inline] 
operator <<

   std::ostream& operator <<
   (  std::ostream & out, 
      const abs_d_ref & r 
   ) [friend, inherited] 
put()

   byte_size_t D_type::put
   ( char * buf, 
   byte_size_t cap, 
   bool uni_srv, 
   Database * db = 0 
   ) [inherited] 
   void InterSystems::abs_d_ref::put
   (  t_ostream & out, 
      Database * db = 0 
   ) const [inline, virtual, inherited] 
put_empty()

   void InterSystems::D_type::put_empty
   (  t_ostream & out) const [inline, inherited] 
put_null()

   void InterSystems::D_type::put_null
   (  t_ostream & out) const [inline, inherited] 
set_ignore_null()

   static void InterSystems::D_type::set_ignore_null
   (  bool val) [inline, static, inherited] 
set_par()

   void D_type::set_par
   (  abs_d_query & query, 
      int idx 
   ) const [virtual, inherited] 
to_xml()

   void abs_d_ref::to_xml
   (  xml_writer & out) const [virtual, inherited] 
to_xml_null_value()

   void InterSystems::D_type::to_xml_null_value
   (  xml_writer & out) const [inline, inherited] 

Template InterSystems::lc_d_ref<T> クラス

Light C++ バインディングで使用される参照クラス・テンプレートです。このクラスには、"プロキシ・クラスの生成" および "プロキシ・オブジェクトの使用法" の d_ref に関する情報も当てはまります。このクラスは、Light C++ バインディング・アプリケーションでのみ使用可能です。

コンストラクタ

lc_d_ref()

   template<class T>
   lc_d_ref< T >::lc_d_ref
   ( ) [inline]

   template<class T>
   lc_d_ref< T >::lc_d_ref
   ( T * p ) [inline]

   template<class T>
   lc_d_ref< T >::lc_d_ref
   (  T *  p,
      int *  ref_cnt 
   ) [inline]

メンバ・リスト

(このクラスには、パブリック・メンバ関数はありません)。

FeedbackOpens in a new tab