⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lnrtsbfm.hpp

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 HPP
字号:
//===========================================================================
//
// Module:  LNRTSBFM.HPP
//
// Description:
//
//  Class library definition for LNRTSubform and related classes.
//
//===========================================================================
//
// Copyright (c) 1998 Lotus Development Corporation. All rights reserved.
// This software is subject to the Lotus Software Agreement, Restricted
// Rights for U.S. government users, and applicable export regulations.
//
//===========================================================================

#ifndef LNRTSBFM_HPP
#define LNRTSBFM_HPP


#include "lnsbform.hpp"


class LNIMPEXPCL LNRTSubform : public LNRTElement
{

public:
	
	LNRTSubform();

	LNRTSubform(const LNRTObject &other);
	LNRTSubform(const LNRTSubform &other);
	
	~LNRTSubform();
	
	LNRTSubform& operator=(const LNRTObject &other);
	LNRTSubform& operator=(const LNRTSubform &other);

	virtual LNCLASSID GetClassID() const { return LNCLASSID_LNRTSUBFORM; }

	LNString GetName() const;

	LNSTATUS GetSubform(LNSubform *subform) const;

private:

	LNSTATUS Expand();

	LNRTSubform(LNRTSubformBody *body);
	LNRTSubform(const LNSubform &subform);
	LNRTSubform(const LNString &subformname);

	LNRTSubform& operator=(LNRTSubformBody *body);

	LNRTSubformBody* GetRTSubformBody() const { return (LNRTSubformBody *) Body; }

	LNSTATUS SetSubform(LNSubform *subform);

	virtual void ValidateRTType(const LNRTObject &other) const;
	virtual void ValidateRTType(const LNRTObjectBody *other) const;
};


class LNIMPEXPCL LNRTComputedSubform : public LNRTElement
{

public:
	
	LNRTComputedSubform();

	LNRTComputedSubform(const LNRTObject &other);
	LNRTComputedSubform(const LNRTComputedSubform &other);
	
	LNRTComputedSubform(const LNFormula &formula);

	~LNRTComputedSubform();
	
	LNRTComputedSubform& operator=(const LNRTObject &other);
	LNRTComputedSubform& operator=(const LNRTComputedSubform &other);

	virtual LNCLASSID GetClassID() const { return LNCLASSID_LNRTCOMPUTEDSUBFORM; }

	LNSTATUS GetFormula(LNFormula *formula) const;

	LNSTATUS SetFormula(const LNFormula &formula);

protected:

	LNRTComputedSubform(LNRTSubformBody *body);

	LNRTComputedSubform& operator=(LNRTSubformBody *body);

	LNRTSubformBody* GetRTSubformBody() const { return (LNRTSubformBody *) Body; }

	virtual void ValidateRTType(const LNRTObject &other) const;
	virtual void ValidateRTType(const LNRTObjectBody *other) const;
};


#endif

⌨️ 快捷键说明

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