icetGetStrategyName(3)
π icetGetStrategyName(3) β IceT Reference π
okay bestie, gather round, because we're about to meet the chillest little function in the whole IceT library. it's icetGetStrategyName(3), it lives in the IceT Reference, and it is literally just here to tell you what your current strategy is called in human-speak. no cap. π¦
β¨ NAME β¨
icetGetStrategyName β retrieve strategy name.
likeβ¦ that's it. that's the whole job. and it ate. π
πΈ Synopsis πΈ
#include <IceT.h>
const char *icetGetStrategyName( void );
yes bestie, void β she takes zero arguments, she's low maintenance, she's that girl. π
π Description π
icetGetStrategyName retrieves a human-readable name for the current strategy.
that's the vibe. you ask, she tells you what strategy is currently in effect, in words a real human can read. iconic behavior fr fr. β
π Return Value π
Returns a short, null terminated string identifying the strategy currently in effect. super helpful for printing out debugging or diagnostic statements β you know, when you're staring at your terminal at 3am like ποΈπποΈ and need to know what's actually running.
If no strategy is set, NULL is returned. so likeβ¦ check for that. π
π Errors π
ICET_INVALID_ENUMβ a strategy was never set withicetStrategy. bestie. you have to set one first. she can't name a strategy that doesn't exist. π
π«Ά Warnings π«Ά
None.
literally none. she's a good girl, no drama, no red flags. π
π§ Bugs π§
None known.
not a single one. she's flawless and we're obsessed. β¨
π Notes π
okay this part matters, so listen up:
the string returned does not contain the identifier used in a C program. for example, if the current strategy is ICET_STRATEGY_REDUCE, icetGetStrategyName returns "Reduce," not "ICET_STRATEGY_REDUCE."
so like β it's giving vibes, not C constants. don't try to compare it against your enum names, bestie, that's not the move. iykyk. π₯
π Copyright π
Copyright (C)2003 Sandia Corporation
Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.
This source code is released under the New BSD License.
π¦ See Also π¦
go read those next, they're her besties. π
and that's the whole page, babe. this little gem came to you straight from the IceT Reference, dated August 23, 2010 β an absolute classic, still slaying. mwah. π πΈβ¨
π¦ where this page comes from
- debian bookworm: paraview 5.11.0+dfsg-1+b1 Β· BSD-3-Clause
- debian trixie: paraview 5.13.2+dfsg-3 Β· BSD-3-Clause
- ubuntu jammy: paraview 5.10.0~rc1-1build3 Β· BSD-3-Clause
- ubuntu noble: paraview 5.11.2+dfsg-6build5 Β· BSD-3-Clause
- ubuntu questing: paraview 5.13.2+dfsg-3
- ubuntu resolute: paraview 6.0.1+dfsg1-7 Β· BSD-3-Clause
- ubuntu stonking: paraview 6.1.1+dfsg1-2build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms