SeExpr
ContextUtils.h
Go to the documentation of this file.
1 /*
2 * Copyright Disney Enterprises, Inc. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License
6 * and the following modification to it: Section 6 Trademarks.
7 * deleted and replaced with:
8 *
9 * 6. Trademarks. This License does not grant permission to use the
10 * trade names, trademarks, service marks, or product names of the
11 * Licensor and its affiliates, except as required for reproducing
12 * the content of the NOTICE file.
13 *
14 * You may obtain a copy of the License at
15 * http://www.apache.org/licenses/LICENSE-2.0
16 */
17 #pragma once
18 
19 namespace SeExpr2 {
20 
21 class Context;
22 
23 class ContextUtils {
24  public:
25  static void DisableThreading(Context& context);
26  static bool IsThreading(const Context& context);
27 };
28 
29 } // namespace SeExpr2
SeExpr2::Context
Definition: Context.h:24
SeExpr2
Definition: Context.h:22
SeExpr2::ContextUtils::DisableThreading
static void DisableThreading(Context &context)
Definition: ContextUtils.cpp:27
SeExpr2::ContextUtils
Definition: ContextUtils.h:23
context
If a scalar is used in a vector context
Definition: userdoc.txt:436
SeExpr2::ContextUtils::IsThreading
static bool IsThreading(const Context &context)
Definition: ContextUtils.cpp:29