actual/packages/node-libofx/OpenSP-1.5.2/lib/TokenMessageArg.h

40 lines
750 B
C
Raw Normal View History

2022-04-29 02:44:38 +00:00
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef TokenMessageArg_INCLUDED
#define TokenMessageArg_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "MessageArg.h"
#include "types.h"
#include "Mode.h"
#include "Syntax.h"
#include "Sd.h"
#include "Ptr.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class TokenMessageArg : public MessageArg {
public:
TokenMessageArg(Token token, Mode mode,
const ConstPtr<Syntax> &syntax,
const ConstPtr<Sd> &sd);
MessageArg *copy() const;
void append(MessageBuilder &) const;
private:
Token token_;
Mode mode_;
ConstPtr<Syntax> syntax_;
ConstPtr<Sd> sd_;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not TokenMessageArg_INCLUDED */