dbpriv.h

来自「在手机操作系统symbina上使用的一个脚本扩展语言的代码实现,可以参考用于自己」· C头文件 代码 · 共 35 行

H
35
字号
// DBPRIV.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//
#ifndef __DBPRIV_H__
#define __DBPRIV_H__

#include <opldbdef.h>
#include <opldb.h>

class TOplFieldInfo 
     {
 public:
	 inline TOplFieldInfo(const TDesC& aOplName=KNullDesC,TUint aType=0) : iOplName(aOplName),iType(aType) {;}
     inline void SetType(TInt aType) {iType=aType;};
     inline TPtrC OplName() const;
 	 inline TInt Type() const ; 
 private:

	 TBufC<KOplMaxFieldName> iOplName;
	 TInt iType;
	 };


// FieldInfo 
inline TInt TOplFieldInfo::Type()	const
 	{return iType;}

inline TPtrC TOplFieldInfo::OplName() 	const
    {return iOplName;}

inline TInt COplFieldMap::GetNoOfFields()
    {return (iFieldInfoArray.Count());}

#endif // __DBPRIV_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?