Mobile API Reference  MicroStrategy 2019
DSSExpNode Class Reference

#include <DSSExpNode.h>

Inheritance diagram for DSSExpNode:
DSSSecondClassObject DSSSecondClassObject DSSExpNodeBigDecimal DSSExpNodeBigDecimal DSSExpNodeConstant DSSExpNodeConstant DSSExpNodeControlShortcut DSSExpNodeControlShortcut DSSExpNodeElementsObject DSSExpNodeElementsObject DSSExpNodeFieldShortcut DSSExpNodeFieldShortcut DSSExpNodeFormShortcut DSSExpNodeFormShortcut DSSExpNodeGridUnitShortcut DSSExpNodeGridUnitShortcut DSSExpNodeGroup DSSExpNodeGroup DSSExpNodeMe DSSExpNodeMe DSSExpNodeOperator DSSExpNodeOperator DSSExpNodeReference DSSExpNodeReference DSSExpNodeResidue DSSExpNodeResidue DSSExpNodeShortcut DSSExpNodeShortcut DSSExpNodeTime DSSExpNodeTime

Public Member Functions

 DSSExpNode (DSSObjectContext *ipObjectContext, EnumDSSNodeType iNodeType, const std::string &irKey, DSSCExpression *ipExpression)
 
virtual ~DSSExpNode ()
 
int getChildIndex ()
 
int Count ()
 
EnumDSSNodeType getType ()
 
std::string getKey ()
 
EnumDSSExpressionType getExpressionType ()
 
DSSExpNodegetChildNode ()
 
void setChildIndex (int iIndex)
 
DSSExpNodeItem (int iIndex)
 
DSSExpNodegetFirstSibling ()
 
DSSExpNodegetLastSibling ()
 
DSSExpNodegetParentNode ()
 
DSSExpNodegetNext ()
 
DSSExpNodegetPrevious ()
 
DSSExpNodegetRoot ()
 
DSSExpNodefindInSubTree (const std::string &iKey)
 
DSSExpNodeFind (const std::string &irKey)
 
DSSExpNodeAdd (int iNodeType, const std::string &irKey)
 
void SetKey (const std::string &irKey)
 
void removeByIndex (int iIndex)
 
void removeByKeyInChildren (const std::string &irKey)
 
void removeByKeyInSubExpression (const std::string &irKey)
 
void Clear ()
 
void Move (DSSExpNode *ipTargetNode, int iTargetIndex)
 
void Insert (DSSExpNode *ipNode)
 
virtual int LoadDefnFromBinary (DSSBinaryDataReader *ipReader)
 
int LoadDimtyFromBinary (DSSBinaryDataReader *ipReader)
 
int LoadDENodeProperty (DSSBinaryDataReader *ipReader)
 
void setCanExpandIsSpliced (bool iCanExpand, bool iIsSpliced)
 
void setExpressionType (EnumDSSExpressionType iType)
 
void setExpression (DSSCExpression *iExpression)
 
virtual void Duplicate (DSSExpNode *ipSourceNode)
 
virtual void * createXML (void *ipParentNode, std::vector< DSSObjectInfo *> *ipObjects)
 
EnumDSSNodeDimty getDimtyType ()
 
DSSDimtygetDimty ()
 
 DSSExpNode (DSSObjectContext *ipObjectContext, EnumDSSNodeType iNodeType, const std::string &irKey, DSSCExpression *ipExpression)
 
virtual ~DSSExpNode ()
 
int getChildIndex ()
 
int Count ()
 
EnumDSSNodeType getType ()
 
std::string getKey ()
 
EnumDSSExpressionType getExpressionType ()
 
DSSExpNodegetChildNode ()
 
void setChildIndex (int iIndex)
 
DSSExpNodeItem (int iIndex)
 
DSSExpNodegetFirstSibling ()
 
DSSExpNodegetLastSibling ()
 
DSSExpNodegetParentNode ()
 
DSSExpNodegetNext ()
 
DSSExpNodegetPrevious ()
 
DSSExpNodegetRoot ()
 
DSSExpNodefindInSubTree (const std::string &iKey)
 
DSSExpNodeFind (const std::string &irKey)
 
DSSExpNodeAdd (int iNodeType, const std::string &irKey)
 
void SetKey (const std::string &irKey)
 
void removeByIndex (int iIndex)
 
void removeByKeyInChildren (const std::string &irKey)
 
void removeByKeyInSubExpression (const std::string &irKey)
 
void Clear ()
 
void Move (DSSExpNode *ipTargetNode, int iTargetIndex)
 
void Insert (DSSExpNode *ipNode)
 
virtual int LoadDefnFromBinary (DSSBinaryDataReader *ipReader)
 
int LoadDimtyFromBinary (DSSBinaryDataReader *ipReader)
 
int LoadDENodeProperty (DSSBinaryDataReader *ipReader)
 
void setCanExpandIsSpliced (bool iCanExpand, bool iIsSpliced)
 
void setExpressionType (EnumDSSExpressionType iType)
 
void setExpression (DSSCExpression *iExpression)
 
virtual void Duplicate (DSSExpNode *ipSourceNode)
 
virtual void * createXML (void *ipParentNode, std::vector< DSSObjectInfo *> *ipObjects)
 
EnumDSSNodeDimty getDimtyType ()
 
DSSDimtygetDimty ()
 
- Public Member Functions inherited from DSSSecondClassObject
 DSSSecondClassObject ()
 
virtual ~DSSSecondClassObject ()
 
 DSSSecondClassObject (DSSObjectContext *ipObjectContext)
 
DSSObjectContextgetObjectContext ()
 
 DSSSecondClassObject ()
 
virtual ~DSSSecondClassObject ()
 
 DSSSecondClassObject (DSSObjectContext *ipObjectContext)
 
DSSObjectContextgetObjectContext ()
 

Static Public Member Functions

static std::string IntToString (int i)
 
static std::string VariantToString (const CComVariant &irVariant)
 
static int StringToInt (std::string &iString)
 
static double StringToDouble (std::string &iString)
 
static void StringToVariant (std::string &istrVariantValue, int iVariantType, CComVariant &irVariant)
 
static std::string IntToString (int i)
 
static std::string VariantToString (const CComVariant &irVariant)
 
static int StringToInt (std::string &iString)
 
static double StringToDouble (std::string &iString)
 
static void StringToVariant (std::string &istrVariantValue, int iVariantType, CComVariant &irVariant)
 

Protected Member Functions

void hUnRegisterFromParent ()
 
void hUnRegisterFromParent ()
 

Protected Attributes

std::vector< DSSExpNode * > mChildNodes
 
std::string mKey
 
int mChildIndex
 
DSSExpNodempParentNode
 
EnumDSSNodeType mType
 
DSSCExpressionmpExpression
 
EnumDSSExpressionType mExpressionType
 
EnumDSSNodeDimty mDimtyType
 
DSSDimtympDimty
 
int mID
 
bool mIsForDE
 
bool mIsSpliced
 
bool mCanExpand
 
- Protected Attributes inherited from DSSSecondClassObject
DSSObjectContextmpObjectContext
 

Constructor & Destructor Documentation

◆ DSSExpNode() [1/2]

DSSExpNode::DSSExpNode ( DSSObjectContext ipObjectContext,
EnumDSSNodeType  iNodeType,
const std::string &  irKey,
DSSCExpression ipExpression 
)

◆ ~DSSExpNode() [1/2]

virtual DSSExpNode::~DSSExpNode ( )
virtual

◆ DSSExpNode() [2/2]

DSSExpNode::DSSExpNode ( DSSObjectContext ipObjectContext,
EnumDSSNodeType  iNodeType,
const std::string &  irKey,
DSSCExpression ipExpression 
)

◆ ~DSSExpNode() [2/2]

virtual DSSExpNode::~DSSExpNode ( )
virtual

Member Function Documentation

◆ Add() [1/2]

DSSExpNode* DSSExpNode::Add ( int  iNodeType,
const std::string &  irKey 
)

◆ Add() [2/2]

DSSExpNode* DSSExpNode::Add ( int  iNodeType,
const std::string &  irKey 
)

◆ Clear() [1/2]

void DSSExpNode::Clear ( )

◆ Clear() [2/2]

void DSSExpNode::Clear ( )

◆ Count() [1/2]

int DSSExpNode::Count ( )

◆ Count() [2/2]

int DSSExpNode::Count ( )

◆ createXML() [1/2]

◆ createXML() [2/2]

◆ Duplicate() [1/2]

◆ Duplicate() [2/2]

◆ Find() [1/2]

DSSExpNode* DSSExpNode::Find ( const std::string &  irKey)

◆ Find() [2/2]

DSSExpNode* DSSExpNode::Find ( const std::string &  irKey)

◆ findInSubTree() [1/2]

DSSExpNode* DSSExpNode::findInSubTree ( const std::string &  iKey)

◆ findInSubTree() [2/2]

DSSExpNode* DSSExpNode::findInSubTree ( const std::string &  iKey)

◆ getChildIndex() [1/2]

int DSSExpNode::getChildIndex ( )
inline

◆ getChildIndex() [2/2]

int DSSExpNode::getChildIndex ( )

◆ getChildNode() [1/2]

DSSExpNode* DSSExpNode::getChildNode ( )

◆ getChildNode() [2/2]

DSSExpNode* DSSExpNode::getChildNode ( )

◆ getDimty() [1/2]

DSSDimty * DSSExpNode::getDimty ( )
inline

◆ getDimty() [2/2]

DSSDimty* DSSExpNode::getDimty ( )

◆ getDimtyType() [1/2]

EnumDSSNodeDimty DSSExpNode::getDimtyType ( )
inline

◆ getDimtyType() [2/2]

EnumDSSNodeDimty DSSExpNode::getDimtyType ( )

◆ getExpressionType() [1/2]

EnumDSSExpressionType DSSExpNode::getExpressionType ( )

◆ getExpressionType() [2/2]

EnumDSSExpressionType DSSExpNode::getExpressionType ( )
inline

◆ getFirstSibling() [1/2]

DSSExpNode* DSSExpNode::getFirstSibling ( )

◆ getFirstSibling() [2/2]

DSSExpNode* DSSExpNode::getFirstSibling ( )

◆ getKey() [1/2]

std::string DSSExpNode::getKey ( )
inline

◆ getKey() [2/2]

std::string DSSExpNode::getKey ( )

◆ getLastSibling() [1/2]

DSSExpNode* DSSExpNode::getLastSibling ( )

◆ getLastSibling() [2/2]

DSSExpNode* DSSExpNode::getLastSibling ( )

◆ getNext() [1/2]

DSSExpNode* DSSExpNode::getNext ( )

◆ getNext() [2/2]

DSSExpNode* DSSExpNode::getNext ( )

◆ getParentNode() [1/2]

DSSExpNode * DSSExpNode::getParentNode ( )
inline

◆ getParentNode() [2/2]

DSSExpNode* DSSExpNode::getParentNode ( )

◆ getPrevious() [1/2]

DSSExpNode* DSSExpNode::getPrevious ( )

◆ getPrevious() [2/2]

DSSExpNode* DSSExpNode::getPrevious ( )

◆ getRoot() [1/2]

DSSExpNode* DSSExpNode::getRoot ( )

◆ getRoot() [2/2]

DSSExpNode* DSSExpNode::getRoot ( )

◆ getType() [1/2]

EnumDSSNodeType DSSExpNode::getType ( )

◆ getType() [2/2]

EnumDSSNodeType DSSExpNode::getType ( )
inline

◆ hUnRegisterFromParent() [1/2]

void DSSExpNode::hUnRegisterFromParent ( )
protected

◆ hUnRegisterFromParent() [2/2]

void DSSExpNode::hUnRegisterFromParent ( )
protected

◆ Insert() [1/2]

void DSSExpNode::Insert ( DSSExpNode ipNode)

◆ Insert() [2/2]

void DSSExpNode::Insert ( DSSExpNode ipNode)
inline

◆ IntToString() [1/2]

static std::string DSSExpNode::IntToString ( int  i)
static

◆ IntToString() [2/2]

static std::string DSSExpNode::IntToString ( int  i)
static

◆ Item() [1/2]

DSSExpNode* DSSExpNode::Item ( int  iIndex)

◆ Item() [2/2]

DSSExpNode* DSSExpNode::Item ( int  iIndex)

◆ LoadDefnFromBinary() [1/2]

◆ LoadDefnFromBinary() [2/2]

◆ LoadDENodeProperty() [1/2]

int DSSExpNode::LoadDENodeProperty ( DSSBinaryDataReader ipReader)

◆ LoadDENodeProperty() [2/2]

int DSSExpNode::LoadDENodeProperty ( DSSBinaryDataReader ipReader)

◆ LoadDimtyFromBinary() [1/2]

int DSSExpNode::LoadDimtyFromBinary ( DSSBinaryDataReader ipReader)

◆ LoadDimtyFromBinary() [2/2]

int DSSExpNode::LoadDimtyFromBinary ( DSSBinaryDataReader ipReader)

◆ Move() [1/2]

void DSSExpNode::Move ( DSSExpNode ipTargetNode,
int  iTargetIndex 
)

◆ Move() [2/2]

void DSSExpNode::Move ( DSSExpNode ipTargetNode,
int  iTargetIndex 
)

◆ removeByIndex() [1/2]

void DSSExpNode::removeByIndex ( int  iIndex)

◆ removeByIndex() [2/2]

void DSSExpNode::removeByIndex ( int  iIndex)

◆ removeByKeyInChildren() [1/2]

void DSSExpNode::removeByKeyInChildren ( const std::string &  irKey)

◆ removeByKeyInChildren() [2/2]

void DSSExpNode::removeByKeyInChildren ( const std::string &  irKey)

◆ removeByKeyInSubExpression() [1/2]

void DSSExpNode::removeByKeyInSubExpression ( const std::string &  irKey)

◆ removeByKeyInSubExpression() [2/2]

void DSSExpNode::removeByKeyInSubExpression ( const std::string &  irKey)

◆ setCanExpandIsSpliced() [1/2]

void DSSExpNode::setCanExpandIsSpliced ( bool  iCanExpand,
bool  iIsSpliced 
)

◆ setCanExpandIsSpliced() [2/2]

void DSSExpNode::setCanExpandIsSpliced ( bool  iCanExpand,
bool  iIsSpliced 
)

◆ setChildIndex() [1/2]

void DSSExpNode::setChildIndex ( int  iIndex)

◆ setChildIndex() [2/2]

void DSSExpNode::setChildIndex ( int  iIndex)
inline

◆ setExpression() [1/2]

void DSSExpNode::setExpression ( DSSCExpression iExpression)

◆ setExpression() [2/2]

void DSSExpNode::setExpression ( DSSCExpression iExpression)
inline

◆ setExpressionType() [1/2]

void DSSExpNode::setExpressionType ( EnumDSSExpressionType  iType)
inline

◆ setExpressionType() [2/2]

void DSSExpNode::setExpressionType ( EnumDSSExpressionType  iType)

◆ SetKey() [1/2]

void DSSExpNode::SetKey ( const std::string &  irKey)

◆ SetKey() [2/2]

void DSSExpNode::SetKey ( const std::string &  irKey)

◆ StringToDouble() [1/2]

static double DSSExpNode::StringToDouble ( std::string &  iString)
static

◆ StringToDouble() [2/2]

static double DSSExpNode::StringToDouble ( std::string &  iString)
static

◆ StringToInt() [1/2]

static int DSSExpNode::StringToInt ( std::string &  iString)
static

◆ StringToInt() [2/2]

static int DSSExpNode::StringToInt ( std::string &  iString)
static

◆ StringToVariant() [1/2]

static void DSSExpNode::StringToVariant ( std::string &  istrVariantValue,
int  iVariantType,
CComVariant irVariant 
)
static

◆ StringToVariant() [2/2]

static void DSSExpNode::StringToVariant ( std::string &  istrVariantValue,
int  iVariantType,
CComVariant irVariant 
)
static

◆ VariantToString() [1/2]

static std::string DSSExpNode::VariantToString ( const CComVariant irVariant)
static

◆ VariantToString() [2/2]

static std::string DSSExpNode::VariantToString ( const CComVariant irVariant)
static

Member Data Documentation

◆ mCanExpand

bool DSSExpNode::mCanExpand
protected

◆ mChildIndex

int DSSExpNode::mChildIndex
protected

◆ mChildNodes

std::vector< DSSExpNode * > DSSExpNode::mChildNodes
protected

◆ mDimtyType

EnumDSSNodeDimty DSSExpNode::mDimtyType
protected

◆ mExpressionType

EnumDSSExpressionType DSSExpNode::mExpressionType
protected

◆ mID

int DSSExpNode::mID
protected

◆ mIsForDE

bool DSSExpNode::mIsForDE
protected

◆ mIsSpliced

bool DSSExpNode::mIsSpliced
protected

◆ mKey

std::string DSSExpNode::mKey
protected

◆ mpDimty

DSSDimty * DSSExpNode::mpDimty
protected

◆ mpExpression

DSSCExpression * DSSExpNode::mpExpression
protected

◆ mpParentNode

DSSExpNode * DSSExpNode::mpParentNode
protected

◆ mType

EnumDSSNodeType DSSExpNode::mType
protected