• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

Software development tool for distributed control systems

  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Product
    • Design UI
    • Develop
    • Analyze and test
    • Deploy
    • Framework and toolbox
    • Compatibility
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP2SQL
  • HasDatabaseConnection
  • 4.10.7

HasDatabaseConnection Class

(CDP2SQL::HasDatabaseConnection)

Generic base class for all the database holder objects. Should not be used directly. More...

Header: #include <CDP2SQL/DBI.h>
Inherited By:

CDP2SQL::Database, CDP2SQL::Query, CDP2SQL::Statement, and CDP2SQL::Transaction

  • List of all members, including inherited members

Public Functions

bool HasDBConnection()
bool SetDatabase(HasDatabaseConnection &db)

Detailed Description

Generic base class for all the database holder objects. Should not be used directly.

Member Function Documentation

bool HasDatabaseConnection::HasDBConnection()

Returns true if we have a database connection

bool HasDatabaseConnection::SetDatabase(HasDatabaseConnection &db)

Sets database connection from given database.

Can only set once. Returns false if already have connection.

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

Follow CDP

    © Copyright 2021 CDP Technologies. Privacy and cookie policy.

    Return to top