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

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • CDP Linux
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - CDP2SQL
  • CDP2SQL C++ Classes
  • 5.0.9

CDP2SQL C++ Classes

Namespaces

CDP2SQL

LogManager

Contains LogManager implementation classes

LogManager::Exceptions

Contains exceptions LogManager classes may throw

Classes

CDP2SQL::HasDatabaseConnection

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

CDP2SQL::Database

Used for connecting to a database and executing simple commands and queries

CDP2SQL::Query

Class that is used for making queries to the database

CDP2SQL::Statement

Class for handling SQL statements, including placeholder values. This can be used for insert, update, select etc

CDP2SQL::Transaction

Class for executing database transactions

CDP2SQL::SQLite3Factory

Creates a CDP2SQL::IDatabaseConnection object capable of creating a SQLite3 database. This should be passed into CDP2SQL::Database constructor

LogManager::ConnectionInfo

Contains parameters needed to establish a database connection

LogManager::Event

Struct represents a single logged event. For example, CDPAlarm Set or CDPAlarm Clear

LogManager::EventQuery::Condition

A condition used to filter events

LogManager::EventQuery

Contains the arguments for querying events from the database using LogReader

LogManager::Exceptions::InvalidArgument

Exception is thrown when some LogManager method is called with a wrong argument. This is an error in calling code and it should be fixed

LogManager::Exceptions::LogicError

Exception is thrown when some LogManager operation is called that cannot be done with current configuration. This is an error in calling code and it should be fixed by either reconfiguring the object or calling an allowed operation

LogManager::Exceptions::NotImplemented

Exception is thrown when some feature of the LogManager interface is not supported by the implementation

LogManager::Exceptions::UnsupportedDBType

Exception is thrown when trying to open something which is not a supported database

LogManager::Keyframe

Represents one row in the database or in the query result

LogManager::KeyframeData

Represents a single logged value in some time period

LogManager::LogManagerFactory

Creates readers and writers supporting CDPCompactDatastore format

LogManager::LogReader

Interface is used to read data from a datastore

LogManager::NodeInfo

Describes a logged node and is used to match node id, name and path

LogManager::TagInfo

Describes a tag associated with a logged node

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

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2026 CDP Technologies. Privacy and cookie policy.

Return to top