comparison Core/SQLite/FunctionContext.cpp @ 50:a15e90e5d6fc

rename in code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Sep 2012 15:50:12 +0200
parents db4d996ea264
children c996319e90bc
comparison
equal deleted inserted replaced
49:e1a3ae0dadf3 50:a15e90e5d6fc
1 /** 1 /**
2 * Palantir - A Lightweight, RESTful DICOM Store 2 * Palanthir - A Lightweight, RESTful DICOM Store
3 * Copyright (C) 2012 Medical Physics Department, CHU of Liege, 3 * Copyright (C) 2012 Medical Physics Department, CHU of Liege,
4 * Belgium 4 * Belgium
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are 7 * modification, are permitted provided that the following conditions are
33 33
34 #include "FunctionContext.h" 34 #include "FunctionContext.h"
35 35
36 #include <sqlite3.h> 36 #include <sqlite3.h>
37 37
38 namespace Palantir 38 namespace Palanthir
39 { 39 {
40 namespace SQLite 40 namespace SQLite
41 { 41 {
42 FunctionContext::FunctionContext(struct sqlite3_context* context, 42 FunctionContext::FunctionContext(struct sqlite3_context* context,
43 int argc, 43 int argc,
54 54
55 void FunctionContext::CheckIndex(unsigned int index) const 55 void FunctionContext::CheckIndex(unsigned int index) const
56 { 56 {
57 if (index >= argc_) 57 if (index >= argc_)
58 { 58 {
59 throw PalantirException(ErrorCode_ParameterOutOfRange); 59 throw PalanthirException(ErrorCode_ParameterOutOfRange);
60 } 60 }
61 } 61 }
62 62
63 ColumnType FunctionContext::GetColumnType(unsigned int index) const 63 ColumnType FunctionContext::GetColumnType(unsigned int index) const
64 { 64 {