blob: 7762ac6e086966692ca62101d8f47bad73319ae4 [file] [log] [blame]
/**********************************************************************
// @@@ START COPYRIGHT @@@
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
// @@@ END COPYRIGHT @@@
**********************************************************************/
#ifndef ELEMDDLUDRMAXRESULTS_H
#define ELEMDDLUDRMAXRESULTS_H
/* -*-C++-*-
******************************************************************************
*
* File: ElemDDLUdrMaxResults.h
* Description: class for UDR Max Results (parse node) elements in
* DDL statements
*
*
* Created: 10/08/1999
* Language: C++
*
*
*
*
******************************************************************************
*/
#include "ComSmallDefs.h"
#include "ElemDDLNode.h"
class ElemDDLUdrMaxResults : public ElemDDLNode
{
public:
// default constructor
ElemDDLUdrMaxResults(ComUInt32 theMaxResults);
// virtual destructor
virtual ~ElemDDLUdrMaxResults(void);
// cast
virtual ElemDDLUdrMaxResults * castToElemDDLUdrMaxResults(void);
// accessor
inline const ComUInt32 getMaxResults(void) const
{
return maxResults_;
}
//
// methods for tracing
//
virtual NATraceList getDetailInfo() const;
virtual const NAString getText() const;
private:
ComUInt32 maxResults_;
}; // class ElemDDLUdrMaxResults
#endif /* ELEMDDLUDRMAXRESULTS_H */