LibreOffice Module connectivity (master) 1
Classes | Namespaces | Enumerations | Functions
Util.hxx File Reference
#include <ibase.h>
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/XInterface.hpp>
#include <utility>
Include dependency graph for Util.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  connectivity::firebird::ColumnTypeInfo
 

Namespaces

namespace  connectivity
 
namespace  connectivity::firebird
 

Enumerations

enum class  connectivity::firebird::BlobSubtype {
  connectivity::firebird::Blob = 0 ,
  connectivity::firebird::Clob = 1 ,
  connectivity::firebird::Image = -9546
}
 
enum class  connectivity::firebird::NumberSubType {
  connectivity::firebird::Other = 0 ,
  connectivity::firebird::Numeric = 1 ,
  connectivity::firebird::Decimal = 2
}
 Numeric and decimal types can be identified by their subtype in Firebird API. More...
 

Functions

OUString connectivity::firebird::sanitizeIdentifier (std::u16string_view rIdentifier)
 Make sure an identifier is safe to use within the database. More...
 
bool connectivity::firebird::IndicatesError (const ISC_STATUS_ARRAY &rStatusVector)
 
OUString connectivity::firebird::StatusVectorToString (const ISC_STATUS_ARRAY &rStatusVector, std::u16string_view rCause)
 
void connectivity::firebird::evaluateStatusVector (const ISC_STATUS_ARRAY &rStatusVector, std::u16string_view aCause, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 Evaluate a firebird status vector and throw exceptions as necessary. More...
 
short connectivity::firebird::getFBTypeFromBlrType (short blrType)
 Internally (i.e. More...
 
void connectivity::firebird::mallocSQLVAR (XSQLDA *pSqlda)
 
void connectivity::firebird::freeSQLVAR (XSQLDA *pSqlda)
 
sal_Int64 connectivity::firebird::pow10Integer (int nDecimalCount)