UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mth
cust_info.H
1
/* cust_info.H */
2
/* $Id: cust_info.H,v 1.1 2001/08/22 16:01:27 vlad Exp $ */
3
#ifdef __CubeStorage_H
4
5
6
/***********************************************************************
7
* Get dimension with given number.
8
*/
9
template
<
class
T>
10
inline
int
11
CubeStorage<T>::dim_number
()
const
12
{
13
return
nDim;
14
}
15
16
17
/***********************************************************************
18
* Get dimension with given number.
19
*/
20
template
<
class
T>
21
inline
int
22
CubeStorage<T>::dim
(
int
dim_i)
const
23
{
24
if
(dim_i < 0 || dim_i >= nDim)
25
Throw(ERROR__DA_OUT_OF_RANGE);
26
27
return
pDim[dim_i];
28
}
29
30
31
#endif
/* cust_info.H */
CubeStorage
Definition:
CubeStorage.H:48
Generated by
1.8.5