|
|
|||
File indexing completed on 2026-10-27 09:40:39
0001 //------------------------------- -*- C++ -*- -------------------------------// 0002 // Copyright Celeritas contributors: see top-level COPYRIGHT file for details 0003 // SPDX-License-Identifier: (Apache-2.0 OR MIT) 0004 //---------------------------------------------------------------------------// 0005 //! \file orange/detail/ConvertLogic.hh 0006 //---------------------------------------------------------------------------// 0007 #pragma once 0008 0009 #include <vector> 0010 0011 #include "orange/OrangeInput.hh" 0012 0013 #include "../OrangeTypes.hh" 0014 0015 namespace celeritas 0016 { 0017 namespace detail 0018 { 0019 //---------------------------------------------------------------------------// 0020 // Convert a postfix logic expression to an infix expression. 0021 std::vector<logic_int> convert_to_infix(std::vector<logic_int> const& postfix); 0022 0023 // Convert an infix logic expression to a postfix expression. 0024 std::vector<logic_int> convert_to_postfix(std::vector<logic_int> const& infix); 0025 0026 // Convert logic expressions in an OrangeInput to the desired notation 0027 void convert_logic(OrangeInput& input, LogicNotation to); 0028 0029 //---------------------------------------------------------------------------// 0030 } // namespace detail 0031 } // namespace celeritas
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|