source: icGREP/icgrep-devel/icgrep/pe_sel.cpp @ 4122

Last change on this file since 4122 was 3850, checked in by cameron, 5 years ago

icgrep-0.8 distribution

File size: 575 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#include "pe_sel.h"
8
9Sel::Sel(PabloE* if_expr, PabloE* t_expr, PabloE* f_expr)
10{
11    mIf_expr = if_expr;
12    mT_expr = t_expr;
13    mF_expr = f_expr;
14}
15
16Sel::~Sel()
17{
18    delete mIf_expr;
19    delete mT_expr;
20    delete mF_expr;
21}
22
23PabloE* Sel::getIf_expr()
24{
25    return mIf_expr;
26}
27
28PabloE* Sel::getT_expr()
29{
30    return mT_expr;
31}
32
33PabloE* Sel::getF_expr()
34{
35    return mF_expr;
36}
37
Note: See TracBrowser for help on using the repository browser.