CODataset Class Overview

class CODataset : public CRBase, public CCmndBase

        CODataset encapsulates functions of interfaces IMDDataset and IMDRangeRowset. It provides basic functions to open a multidimensional result set from a given MDX statement, navigate cells by use of either cell ordinal or an array of tuple ordinals, retrieve a axis rowset, and open a subset of cells according to start and end cell ordinals. For how to use this class, see the example OLAP.

        In addition to this class, it is possible to use the template CFRowset<T> to open a flattened rowset from a given MDX statement.

        Don't confuse among cell ordinals, tuple ordinals and axis ordinals. All these ordinals are zero-indexed.

        For details about OLAP and its OLEDB interfaces, refer to the documentation of MSDN/Platform SDK/Data Services.

CODataset Class Members