GTPin
Public Member Functions
gtpin::IargPrime< ARGT > Struct Template Reference

Primary HLI argument value of type ARGT. More...

#include <gt_iarg_defs.h>

Public Member Functions

 IargPrime (const ARGT &v)
 Construct IargPrime object with the specified argument value.
template<typename PRMT >
const IGtIargMake (IGtIargFactory &factory) const
 Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Detailed Description

template<typename ARGT>
struct gtpin::IargPrime< ARGT >

Primary HLI argument value of type ARGT.

The class provides factory method that encapsulates this argument value into IGtIarg object of type GtIargType::PRIME

Parameters:
ARGTValid primary type of the HLI argument (int, float, etc.), or GtReg

Member Function Documentation

template<typename ARGT >
template<typename PRMT >
const IGtIarg& gtpin::IargPrime< ARGT >::Make ( IGtIargFactory factory) const [inline]

Create IGtIarg object that assigns this argument value to the formal parameter of type PRMT.

Parameters:
PRMTType of the formal parameter of the function
Returns:
New IGtIarg object of type GtIargType::PRIME
Precondition:
PRMT is a valid primary type of the HLI argument, e.g. int, float, etc.
 All Data Structures Functions Variables Typedefs Enumerations Enumerator


  Copyright (C) 2013-2025 Intel Corporation
SPDX-License-Identifier: MIT