Mercurial > hg > orthanc
comparison Core/SQLite/FunctionContext.cpp @ 59:c996319e90bc orthanc-renaming
renaming in Core
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 16 Sep 2012 09:28:56 +0200 |
parents | a15e90e5d6fc |
children | d384af918264 |
comparison
equal
deleted
inserted
replaced
58:6da7fc87efaa | 59:c996319e90bc |
---|---|
1 /** | 1 /** |
2 * Palanthir - A Lightweight, RESTful DICOM Store | 2 * Orthanc - 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 Palanthir | 38 namespace Orthanc |
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 PalanthirException(ErrorCode_ParameterOutOfRange); | 59 throw OrthancException(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 { |