Mobile API Reference  MicroStrategy 2019
DSSMetric Class Reference

#include <DSSMetric.h>

Inheritance diagram for DSSMetric:
DSSObjectInfo DSSObjectInfo DSSAggMetric DSSAggMetric

Public Member Functions

 DSSMetric ()
 
virtual ~DSSMetric ()
 
 DSSMetric (GUID &iID, EnumDSSObjectType iType, std::string iName, DSSObjectContext *iObjectContext, GUID iContainerID)
 
int LoadDefnFromBinary (DSSBinaryDataReader *ipReader)
 
DSSFormatgetHeaderFormat ()
 
DSSFormatgetGridFormat ()
 
virtual void MakeCleanDefn ()
 
DSSCExpressiongetExpression ()
 
std::string getFormula ()
 
void setFormula (std::string iFormula)
 
EnumDSSDecomposable getDecomposable ()
 
DSSDimtygetDimty ()
 
int getUserDefinedSubtotalCount ()
 
GUID getUserDefinedSubtotal (int iIndex)
 
bool isDerivedMetric ()
 
 DSSMetric ()
 
virtual ~DSSMetric ()
 
 DSSMetric (GUID &iID, EnumDSSObjectType iType, std::string iName, DSSObjectContext *iObjectContext, GUID iContainerID)
 
int LoadDefnFromBinary (DSSBinaryDataReader *ipReader)
 
DSSFormatgetHeaderFormat ()
 
DSSFormatgetGridFormat ()
 
virtual void MakeCleanDefn ()
 
DSSCExpressiongetExpression ()
 
std::string getFormula ()
 
void setFormula (std::string iFormula)
 
EnumDSSDecomposable getDecomposable ()
 
DSSDimtygetDimty ()
 
int getUserDefinedSubtotalCount ()
 
GUID getUserDefinedSubtotal (int iIndex)
 
bool isDerivedMetric ()
 
- Public Member Functions inherited from DSSObjectInfo
 DSSObjectInfo ()
 
virtual ~DSSObjectInfo ()
 
 DSSObjectInfo (GUID &iID, GUID &iOnwerID, DSSObjectContext *iObjectContext, EnumDSSViewMedia iViewMedia=DssViewMediaReserved)
 
 DSSObjectInfo (GUID &iID, EnumDSSObjectType iType, std::string iName, DSSObjectContext *iObjectContext, GUID iContainerID=GUID_NULL, EnumDSSViewMedia iViewMedia=DssViewMediaReserved)
 
GUID getID ()
 
EnumDSSObjectType getType ()
 
std::string getName ()
 
std::string & getNameRef ()
 
void setName (std::string iName)
 
void setDsc (std::string iDsc)
 
std::string getDsc ()
 
GUID getContainerID ()
 
DSSObjectContextgetObjectContext ()
 
int LoadPropertiesFromBinary (DSSBinaryDataReader *ipReader)
 
void InsertPropertySet (std::string iPropertySetName, DSSPropertySetBaseClass *ipPropertySet)
 
CComVariantgetPropertyValue (std::string iPropertySetName, std::string iPropertyName)
 
void setPropertyValue (std::string iPropertySetName, std::string iPropertyName, std::string iPropertyValue)
 
void setPropertyValue (std::string iPropertySetName, std::string iPropertyName, CComVariant &iPropertyValue)
 
PropertySetsMap getPropertySetsMap ()
 
GUID getOnwerID ()
 
void putOwnerID (GUID &iOnwerID)
 
void addACE (GUID &iTrusteeID, int iTypeAndRights)
 
bool CheckAccess (DSSUserRuntime *ipUserRuntime, int iDesiredAccess, bool iRequireAll=true)
 
EnumDSSViewMedia getViewMedia ()
 
std::vector< DSSAccessControlEntrygetACL ()
 
void Duplicate (DSSObjectInfo *ipObjectInfo)
 
 DSSObjectInfo ()
 
virtual ~DSSObjectInfo ()
 
 DSSObjectInfo (GUID &iID, GUID &iOnwerID, DSSObjectContext *iObjectContext, EnumDSSViewMedia iViewMedia=DssViewMediaReserved)
 
 DSSObjectInfo (GUID &iID, EnumDSSObjectType iType, std::string iName, DSSObjectContext *iObjectContext, GUID iContainerID=GUID_NULL, EnumDSSViewMedia iViewMedia=DssViewMediaReserved)
 
GUID getID ()
 
EnumDSSObjectType getType ()
 
std::string getName ()
 
std::string & getNameRef ()
 
void setName (std::string iName)
 
void setDsc (std::string iDsc)
 
std::string getDsc ()
 
GUID getContainerID ()
 
DSSObjectContextgetObjectContext ()
 
int LoadPropertiesFromBinary (DSSBinaryDataReader *ipReader)
 
void InsertPropertySet (std::string iPropertySetName, DSSPropertySetBaseClass *ipPropertySet)
 
CComVariantgetPropertyValue (std::string iPropertySetName, std::string iPropertyName)
 
void setPropertyValue (std::string iPropertySetName, std::string iPropertyName, std::string iPropertyValue)
 
void setPropertyValue (std::string iPropertySetName, std::string iPropertyName, CComVariant &iPropertyValue)
 
PropertySetsMap getPropertySetsMap ()
 
GUID getOnwerID ()
 
void putOwnerID (GUID &iOnwerID)
 
void addACE (GUID &iTrusteeID, int iTypeAndRights)
 
bool CheckAccess (DSSUserRuntime *ipUserRuntime, int iDesiredAccess, bool iRequireAll=true)
 
EnumDSSViewMedia getViewMedia ()
 
std::vector< DSSAccessControlEntrygetACL ()
 
void Duplicate (DSSObjectInfo *ipObjectInfo)
 

Protected Attributes

DSSCExpressionmpExpression
 
DSSDimtympDimty
 
EnumDSSDecomposable mDecomposable
 
std::vector< GUIDmvUserDefinedSubtotals
 
- Protected Attributes inherited from DSSObjectInfo
EnumDSSObjectType mType
 
DSSObjectContextmpObjectContext
 
PropertySetsMap mPropertySetsMap
 

Constructor & Destructor Documentation

◆ DSSMetric() [1/4]

DSSMetric::DSSMetric ( )

◆ ~DSSMetric() [1/2]

virtual DSSMetric::~DSSMetric ( )
virtual

◆ DSSMetric() [2/4]

DSSMetric::DSSMetric ( GUID iID,
EnumDSSObjectType  iType,
std::string  iName,
DSSObjectContext iObjectContext,
GUID  iContainerID 
)

◆ DSSMetric() [3/4]

DSSMetric::DSSMetric ( )

◆ ~DSSMetric() [2/2]

virtual DSSMetric::~DSSMetric ( )
virtual

◆ DSSMetric() [4/4]

DSSMetric::DSSMetric ( GUID iID,
EnumDSSObjectType  iType,
std::string  iName,
DSSObjectContext iObjectContext,
GUID  iContainerID 
)

Member Function Documentation

◆ getDecomposable() [1/2]

EnumDSSDecomposable DSSMetric::getDecomposable ( )

◆ getDecomposable() [2/2]

EnumDSSDecomposable DSSMetric::getDecomposable ( )

◆ getDimty() [1/2]

DSSDimty* DSSMetric::getDimty ( )

◆ getDimty() [2/2]

DSSDimty* DSSMetric::getDimty ( )

◆ getExpression() [1/2]

DSSCExpression* DSSMetric::getExpression ( )

◆ getExpression() [2/2]

DSSCExpression* DSSMetric::getExpression ( )

◆ getFormula() [1/2]

std::string DSSMetric::getFormula ( )

◆ getFormula() [2/2]

std::string DSSMetric::getFormula ( )

◆ getGridFormat() [1/2]

DSSFormat* DSSMetric::getGridFormat ( )

◆ getGridFormat() [2/2]

DSSFormat* DSSMetric::getGridFormat ( )

◆ getHeaderFormat() [1/2]

DSSFormat* DSSMetric::getHeaderFormat ( )

◆ getHeaderFormat() [2/2]

DSSFormat* DSSMetric::getHeaderFormat ( )

◆ getUserDefinedSubtotal() [1/2]

GUID DSSMetric::getUserDefinedSubtotal ( int  iIndex)

◆ getUserDefinedSubtotal() [2/2]

GUID DSSMetric::getUserDefinedSubtotal ( int  iIndex)

◆ getUserDefinedSubtotalCount() [1/2]

int DSSMetric::getUserDefinedSubtotalCount ( )

◆ getUserDefinedSubtotalCount() [2/2]

int DSSMetric::getUserDefinedSubtotalCount ( )

◆ isDerivedMetric() [1/2]

bool DSSMetric::isDerivedMetric ( )

◆ isDerivedMetric() [2/2]

bool DSSMetric::isDerivedMetric ( )

◆ LoadDefnFromBinary() [1/2]

int DSSMetric::LoadDefnFromBinary ( DSSBinaryDataReader ipReader)

◆ LoadDefnFromBinary() [2/2]

int DSSMetric::LoadDefnFromBinary ( DSSBinaryDataReader ipReader)

◆ MakeCleanDefn() [1/2]

virtual void DSSMetric::MakeCleanDefn ( )
virtual

Reimplemented from DSSObjectInfo.

◆ MakeCleanDefn() [2/2]

virtual void DSSMetric::MakeCleanDefn ( )
virtual

Reimplemented from DSSObjectInfo.

◆ setFormula() [1/2]

void DSSMetric::setFormula ( std::string  iFormula)

◆ setFormula() [2/2]

void DSSMetric::setFormula ( std::string  iFormula)

Member Data Documentation

◆ mDecomposable

EnumDSSDecomposable DSSMetric::mDecomposable
protected

◆ mpDimty

DSSDimty * DSSMetric::mpDimty
protected

◆ mpExpression

DSSCExpression * DSSMetric::mpExpression
protected

◆ mvUserDefinedSubtotals

std::vector< GUID > DSSMetric::mvUserDefinedSubtotals
protected