Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit20efb26

Browse files
author
Thomas G. Lockhart
committed
Convert files from DOS format to normal text.
1 parent48781d4 commit20efb26

File tree

4 files changed

+258
-258
lines changed

4 files changed

+258
-258
lines changed

‎src/corba/CosQuery.idl

Lines changed: 89 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,89 @@
1-
/* RCS $Id: CosQuery.idl,v 1.1 1998/11/17 03:10:35 scrappy Exp $
2-
*
3-
* ----------------------------------------------------------------------------
4-
* This is unmarked software provided by the Object Management Group,Inc. (OMG)
5-
* ----------------------------------------------------------------------------
6-
*/
7-
8-
9-
/**
10-
* CosQuery is the Common Object Services Specification query module
11-
* as it it appears in COSS1, v1.0.
12-
*/
13-
14-
15-
#ifndef CosQuery_idl
16-
#define CosQuery_idl
17-
18-
#ifndef CosQueryCollection_idl
19-
#include "CosQueryCollection.idl"
20-
#endif
21-
22-
module CosQuery {
23-
24-
exception QueryInvalid {string why;};
25-
exception QueryProcessingError {string why;};
26-
exception QueryTypeInvalid {};
27-
28-
enum QueryStatus {complete, incomplete};
29-
30-
typedef CosQueryCollection::ParameterList ParameterList;
31-
32-
typedef CORBA::InterfaceDef QLType;
33-
typedef sequence<QLType> QLTypeSeq;
34-
35-
interface Query;
36-
interface QueryLanguageType {};
37-
interface SQLQuery : QueryLanguageType {};
38-
interface SQL_92Query : SQLQuery {};
39-
interface OQL : QueryLanguageType {};
40-
interface OQLBasic : OQL {};
41-
interface OQL_93 : OQL {};
42-
interface OQL_93Basic : OQL_93, OQLBasic {};
43-
44-
interface QueryEvaluator {
45-
46-
readonly attribute QLTypeSeq ql_types;
47-
readonly attribute QLType default_ql_type;
48-
49-
any evaluate (in string query,
50-
in QLType ql_type,
51-
in ParameterList params)
52-
raises(QueryTypeInvalid,
53-
QueryInvalid,
54-
QueryProcessingError);
55-
};
56-
57-
interface QueryableCollection : QueryEvaluator,
58-
CosQueryCollection::Collection {
59-
60-
};
61-
62-
interface QueryManager : QueryEvaluator {
63-
64-
Query create (in string query,
65-
in QLType ql_type,
66-
in ParameterList params)
67-
raises(QueryTypeInvalid,
68-
QueryInvalid);
69-
70-
};
71-
72-
interface Query {
73-
74-
readonly attribute QueryManager query_mgr;
75-
76-
void prepare (in ParameterList params)
77-
raises(QueryProcessingError);
78-
79-
void execute (in ParameterList params)
80-
raises(QueryProcessingError);
81-
82-
QueryStatus get_status ();
83-
84-
any get_result ();
85-
};
86-
87-
};
88-
89-
#endif // CosQuery_idl
1+
/* RCS $Id: CosQuery.idl,v 1.2 2000/12/03 14:43:59 thomas Exp $
2+
*
3+
* ----------------------------------------------------------------------------
4+
* This is unmarked software provided by the Object Management Group,Inc. (OMG)
5+
* ----------------------------------------------------------------------------
6+
*/
7+
8+
9+
/**
10+
* CosQuery is the Common Object Services Specification query module
11+
* as it it appears in COSS1, v1.0.
12+
*/
13+
14+
15+
#ifndef CosQuery_idl
16+
#define CosQuery_idl
17+
18+
#ifndef CosQueryCollection_idl
19+
#include "CosQueryCollection.idl"
20+
#endif
21+
22+
module CosQuery {
23+
24+
exception QueryInvalid {string why;};
25+
exception QueryProcessingError {string why;};
26+
exception QueryTypeInvalid {};
27+
28+
enum QueryStatus {complete, incomplete};
29+
30+
typedef CosQueryCollection::ParameterList ParameterList;
31+
32+
typedef CORBA::InterfaceDef QLType;
33+
typedef sequence<QLType> QLTypeSeq;
34+
35+
interface Query;
36+
interface QueryLanguageType {};
37+
interface SQLQuery : QueryLanguageType {};
38+
interface SQL_92Query : SQLQuery {};
39+
interface OQL : QueryLanguageType {};
40+
interface OQLBasic : OQL {};
41+
interface OQL_93 : OQL {};
42+
interface OQL_93Basic : OQL_93, OQLBasic {};
43+
44+
interface QueryEvaluator {
45+
46+
readonly attribute QLTypeSeq ql_types;
47+
readonly attribute QLType default_ql_type;
48+
49+
any evaluate (in string query,
50+
in QLType ql_type,
51+
in ParameterList params)
52+
raises(QueryTypeInvalid,
53+
QueryInvalid,
54+
QueryProcessingError);
55+
};
56+
57+
interface QueryableCollection : QueryEvaluator,
58+
CosQueryCollection::Collection {
59+
60+
};
61+
62+
interface QueryManager : QueryEvaluator {
63+
64+
Query create (in string query,
65+
in QLType ql_type,
66+
in ParameterList params)
67+
raises(QueryTypeInvalid,
68+
QueryInvalid);
69+
70+
};
71+
72+
interface Query {
73+
74+
readonly attribute QueryManager query_mgr;
75+
76+
void prepare (in ParameterList params)
77+
raises(QueryProcessingError);
78+
79+
void execute (in ParameterList params)
80+
raises(QueryProcessingError);
81+
82+
QueryStatus get_status ();
83+
84+
any get_result ();
85+
};
86+
87+
};
88+
89+
#endif // CosQuery_idl

‎src/corba/CosQueryCollection.idl

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,83 @@
1-
/* RCS $Id: CosQueryCollection.idl,v 1.1 1998/11/16 18:03:34 scrappy Exp $
2-
*
3-
* ----------------------------------------------------------------------------
4-
* This is unmarked software provided by the Object Management Group,Inc. (OMG)
5-
* ----------------------------------------------------------------------------
6-
*/
7-
8-
9-
/**
10-
* CosQueryCollection is the Common Object Services Specification query
11-
* query colleciton module as it it appears in COSS1, v1.0.
12-
*/
13-
14-
15-
#ifndef CosQueryCollection_idl
16-
#define CosQueryCollection_idl
17-
18-
module CosQueryCollection {
19-
20-
exception ElementInvalid {};
21-
exception IteratorInvalid {};
22-
exception PositionInvalid {};
23-
24-
typedef string Istring;
25-
struct NVPair {
26-
Istring name;
27-
any value;
28-
};
29-
30-
typedef sequence<NVPair> ParameterList;
31-
32-
interface Collection;
33-
interface Iterator;
34-
35-
interface CollectionFactory {
36-
Collection create (in ParameterList params);
37-
};
38-
39-
interface Collection {
40-
41-
readonly attribute long cardinality;
42-
43-
void add_element (in any element)
44-
raises(ElementInvalid);
45-
46-
void add_all_elements (in Collection elements)
47-
raises(ElementInvalid);
48-
49-
void insert_element_at (in any element, in Iterator where)
50-
raises(IteratorInvalid,
51-
ElementInvalid);
52-
53-
void replace_element_at (in any element, in Iterator where)
54-
raises(IteratorInvalid,
55-
PositionInvalid,
56-
ElementInvalid);
57-
58-
void remove_element_at (in Iterator where)
59-
raises(IteratorInvalid,
60-
PositionInvalid);
61-
62-
void remove_all_elements ();
63-
64-
any retrieve_element_at (in Iterator where)
65-
raises(IteratorInvalid,
66-
PositionInvalid);
67-
68-
Iterator create_iterator ();
69-
70-
};
71-
72-
interface Iterator {
73-
any next ()
74-
raises(IteratorInvalid,
75-
PositionInvalid);
76-
void reset ();
77-
boolean more ();
78-
};
79-
80-
};
81-
82-
#endif // CosQueryCollection_idl
83-
1+
/* RCS $Id: CosQueryCollection.idl,v 1.2 2000/12/03 14:43:59 thomas Exp $
2+
*
3+
* ----------------------------------------------------------------------------
4+
* This is unmarked software provided by the Object Management Group,Inc. (OMG)
5+
* ----------------------------------------------------------------------------
6+
*/
7+
8+
9+
/**
10+
* CosQueryCollection is the Common Object Services Specification query
11+
* query colleciton module as it it appears in COSS1, v1.0.
12+
*/
13+
14+
15+
#ifndef CosQueryCollection_idl
16+
#define CosQueryCollection_idl
17+
18+
module CosQueryCollection {
19+
20+
exception ElementInvalid {};
21+
exception IteratorInvalid {};
22+
exception PositionInvalid {};
23+
24+
typedef string Istring;
25+
struct NVPair {
26+
Istring name;
27+
any value;
28+
};
29+
30+
typedef sequence<NVPair> ParameterList;
31+
32+
interface Collection;
33+
interface Iterator;
34+
35+
interface CollectionFactory {
36+
Collection create (in ParameterList params);
37+
};
38+
39+
interface Collection {
40+
41+
readonly attribute long cardinality;
42+
43+
void add_element (in any element)
44+
raises(ElementInvalid);
45+
46+
void add_all_elements (in Collection elements)
47+
raises(ElementInvalid);
48+
49+
void insert_element_at (in any element, in Iterator where)
50+
raises(IteratorInvalid,
51+
ElementInvalid);
52+
53+
void replace_element_at (in any element, in Iterator where)
54+
raises(IteratorInvalid,
55+
PositionInvalid,
56+
ElementInvalid);
57+
58+
void remove_element_at (in Iterator where)
59+
raises(IteratorInvalid,
60+
PositionInvalid);
61+
62+
void remove_all_elements ();
63+
64+
any retrieve_element_at (in Iterator where)
65+
raises(IteratorInvalid,
66+
PositionInvalid);
67+
68+
Iterator create_iterator ();
69+
70+
};
71+
72+
interface Iterator {
73+
any next ()
74+
raises(IteratorInvalid,
75+
PositionInvalid);
76+
void reset ();
77+
boolean more ();
78+
};
79+
80+
};
81+
82+
#endif // CosQueryCollection_idl
83+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp