File sp_code.cpp
FileList > cubrid > src > sp > sp_code.cpp
Go to the source code of this file
#include "sp_code.hpp"
#include <unordered_map>
#include <string>
#include "dbtype.h"
#include "heap_file.h"
#include "object_representation_sr.h"
#include "sp_constants.hpp"
#include "memory_wrapper.hpp"
Public Types
Public Attributes
Public Static Attributes
Public Functions
Public Static Functions
Macros
| Type |
Name |
| define |
MAP_LIST_ITEM (item) [**attr\_idx\_map**](sp__code_8cpp.md#variable-attr_idx_map) [[**SP\_CODE\_ATTR\_**](broker__monitor_8c.md#function-timeout)##item] = [**INDEX\_SP\_CODE\_ATTR\_**](broker__monitor_8c.md#function-timeout)##item;
|
Public Types Documentation
typedef sp_code_attr_map_type
using sp_code_attr_map_type = std::unordered_map <std::string, int>;
Public Attributes Documentation
variable spcode_Attrs_id
ATTR_ID spcode_Attrs_id[NUM_SP_CODE_ATTR];
variable spcode_Num_attrs
Public Static Attributes Documentation
variable attr_idx_map
sp_code_attr_map_type attr_idx_map;
Public Functions Documentation
function sp_get_code_attr
int sp_get_code_attr (
THREAD_ENTRY * thread_p,
const std::string & attr_name,
const OID * sp_oidp,
DB_VALUE * result
)
Public Static Functions Documentation
function sp_code_attr_init
static void sp_code_attr_init ()
function sp_get_attr_idx
static int sp_get_attr_idx (
const std::string & attr_name
)
function sp_get_attrid
static int sp_get_attrid (
THREAD_ENTRY * thread_p,
int attr_index,
ATTR_ID & attrid
)
function sp_load_sp_code_attribute_info
static int sp_load_sp_code_attribute_info (
THREAD_ENTRY * thread_p
)
Macro Definition Documentation
define MAP_LIST_ITEM
#define MAP_LIST_ITEM (
item
) `attr_idx_map [ SP_CODE_ATTR_ ##item] = INDEX_SP_CODE_ATTR_ ##item;`
The documentation for this class was generated from the following file cubrid/src/sp/sp_code.cpp