CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
43 #define TXAPP_FULLNAME "Host Application"
44 #define TXHOST_CURR_CMDCTX "TXHOST_CURR_CMDCTX"
45 #define TXHOST_SETTINGS_NAME "TxHostStorage"
133 bool isNull()
const {
return fn.isNull(); }
140 throw OdError(
"unknown function " + group +
"." +
func);
180 assign(dictionary);
return *
this;
184 return (
RXDIC*)RXDIC::createObject().
get();
190 dic = RXDIC::createObject();
198 if(nextdic.isNull() && bCreateIfNotFound) {
199 nextdic = RXDIC::createObject();
208 nextdic = nextdic.
step(
WSTR(path[i]), bCreateIfNotFound);
236 if (dbName ==
"OdDbDatabase") {
239 else if (dbName ==
"OdDgDatabase") {
267 throw OdError(eUnknownFileType);
271 return sFmtBrdgAppName;
276 OdAnsiString asCmd(pAnsi);
287 dstBuf.
reserve(lenStr * 4 + 1);
289 OdAnsiString asRes = (
const char*) dstBuf.
asArrayPtr();
298 #endif //#ifndef _TXDEFS_H_
#define GETBIT(flags, bit)
void assign(const OdRxDictionary *pObject)
HRXDIC walk(const PATH &path, bool bCreateIfNotFound=false)
HRXDIC walkCr(const PATH &path)
HRXCMD(WSTRREF func, int lookup=kCmdGlobal|kCmdLocal|kCmdThrowUnknown, WSTRREF group=WSTR::kEmpty)
OdString toUtf16(const char *pAnsi)
static void unicodeToUtf8(const OdChar *srcBuf, int srcSize, OdAnsiCharArray &dstBuf)
FIRSTDLL_EXPORT OdRxDynamicLinker * odrxDynamicLinker()
HRXDIC stepCr(WSTRREF name)
GLuint const GLchar * name
virtual OdRxObject * baseDatabase()=0
void execute(CMDCTX *ctx)
OdEdCommandContextPtr CMDCTXPTR
RXPTR arbVarSafe(OdEdCommandContext *ctx, const WSTR &varName)
virtual OdRxObjectPtr putAt(const OdString &key, OdRxObject *pObject, OdUInt32 *pRetId=0)=0
OdRxObjectPtrArray RXPTRARR
HRXDIC & operator=(const RXOBJ *dictionary)
OdString getDbCtxName(OdEdCommandContext *ctx)
FIRSTDLL_EXPORT OdRxDictionary * odrxSysRegistry()
virtual OdUInt32 idAt(const OdString &key) const =0
virtual void execute(OdEdCommandContext *pCommandContext)=0
virtual OdRxClass * isA() const
virtual void setParam(OdRxObject *pParamObj)=0
const T * asArrayPtr() const
virtual OdRxObjectPtr getAt(const OdString &key) const =0
static HRXDIC arbDataOpen(CMDCTX *cmdctx, WSTRREF name, bool bCreateIfNotFound=false)
OdRxDictionaryIterator RXDICITER
RXPTR remove(WSTRREF alias)
virtual OdRxObjectPtr result()=0
virtual const OdString name() const =0
virtual OdRxObjectPtr arbitraryData(const OdString &szPathName) const =0
static void utf8ToUnicode(const char *srcBuf, int srcSize, OdCharArray &dstBuf)
OdAnsiString toUtf8(const OdString &sUnicode)
virtual OdRxModulePtr loadApp(const OdString &applicationName, bool silent=true)=0
virtual void setArbitraryData(const OdString &szPathName, OdRxObject *pDataObj)=0
virtual OdEdFunctionIO * funcIO()=0
void reserve(size_type reserveLength)
OdEdCommandContext CMDCTX
OdRxDictionaryPtr RXDICPTR
RXPTR putAt(WSTRREF name, RXOBJ *obj)
int iCompare(const OdChar *otherString) const
GLint GLint GLint GLsizei GLsizei GLenum format
FIRSTDLL_EXPORT_STATIC static const OdString kEmpty
virtual void setResult(OdRxObject *pResultObj)=0
OdString ctxByFileExtension(const OdString &sExt)
FIRSTDLL_EXPORT OdEdCommandStackPtr odedRegCmds()
const OdChar * c_str() const
OdRxDictionaryIteratorPtr RXDICITERPTR
RXPTR getAt(WSTRREF name)
RXPTR callFn(CMDCTX *ctx)
virtual OdRxObjectPtr remove(const OdString &key)=0
HRXDIC step(WSTRREF name, bool bCreateIfNotFound=false)