3.6. The Non_Sel_Stmt Class

Refer to Section 3.3 for the public data members and member functions which are inherited by Non_Sel_Stmt.


Figure 3-7. class Non_Sel_Stmt

namespace Oracle
{
    class Non_Sel_Stmt: public Stmt
    {
        public:
            // constructors/destructor
            Non_Sel_Stmt(Connection&);
            Non_Sel_Stmt(Connection&, const string&);
            virtual ~Non_Sel_Stmt();

            // implementors
            virtual void exec();

            // accessors
            virtual stmt_t type() const;

        friend Connection;
    };
}

3.6.1. Public Member Functions

3.6.1.1. Constructors

Non_Sel_Stmt(Connection& connection_to_use);

Non_Sel_Stmt(Connection& connection_to_use, const string& statement_text);

The first form allows the use of the Non_Sel_Stmt object as an output stream to write the statement text. The second form specifies the entire statement text at construction time; it cannot be added to by using the stream feature.