GTPin: gtpin::IargPrime< ARGT > Struct Template Reference

GTPin

- Main Page
- Related Pages
- Modules
- Data Structures

- Data Structures
- Data Structure Index
- Class Hierarchy
- Data Fields

Public Member Functions
gtpin::IargPrime< ARGT > Struct Template Reference
GTPin: High-Level Instrumentation (HLI) Parameters and Arguments

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 IGtIarg & | Make (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:

  ARGT | Valid 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:

  PRMT | Type 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