MCPcopy Create free account
hub / github.com/avast/retdec / getMemberType

Method getMemberType

src/ctypes/composite_type.cpp:97–100  ·  view source on GitHub ↗

* @brief Returns the n-th member's type. * * @par Preconditions * - 0 < n <= MemberCount * * The members are numbered starting with @c 1. */

Source from the content-addressed store, hash-verified

95* The members are numbered starting with @c 1.
96*/
97std::shared_ptr<Type> CompositeType::getMemberType(Members::size_type n) const
98{
99 return getMember(n).getType();
100}
101
102/**
103* @brief Sets new members to composite type.

Callers 2

TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 1

getTypeMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64